-
Notifications
You must be signed in to change notification settings - Fork 4
Game
Har Var edited this page Feb 15, 2018
·
5 revisions
players
is a collection of players who plays the game
Turn
is an object which specifies current player
Market
market is an object where players place tile and run hotels
Tiles
is an object comprising of list of tiles and gives a random tile
hotels
is an object which has details of all hotels
addPlayer
adds a new player into game
getPlayersCount
gives the count of joined players
start
starts game play
getStatus
gives present state of game play
updateGameStatus
updates the game status
updatePlayerTurn
changes current player ID in turn
getCurrentPlayer
returns ID of specific player ,who should play now