Skip to content
SGover edited this page Nov 12, 2013 · 7 revisions

added debug mode for the game. u can now use 'dMode' command while playing for easy debugging:

type the number of the player an action and a value

a general command in debug mode is as follows:

player_number.action(value)

actions for now our

  • move(number of steps)
  • jail(0)
  • money(ammount of money)
  • buy(index of the block u want to buy)
  • assets(type of the asset or -1 for all assets)
  • house(index of the block u want to build house on)
  • hotel(index of the block u want to build hotel on)

examples:

  • 1.move(10) this move the first player by ten steps
  • 2.money(100) increase the money of second player by 100
  • 1.jail(1) player1 go to jail
  • 2.assets(4) how many assets does player 2 have from type 4
  • 1.assets(-1) prints player 1 assets

Clone this wiki locally