Strategic allocation from resources to gaming via need for slots delivers optimal returns