jjacobskind/settlers — pull request #36 by smromain (2014-12-01 23:19:38+00:00)
Title: Turn Functionality: Building Phase

#34

functionality to build settlements, cities roads, and collect resource cards which deducts from players' models has been setup, with the 4 attached functions. the functions check against users' resource banks, and fail out if they do not have necessary resources. if they do have, they progress to the functions on the game board with similar functionality. this is done to decentralize the code.

game.buildSettlement(player, location);
game.upgradeSettlementToCity(player, location);
game.buildRoad(player, location, direction);
game.buyDevelopmentCard(player)