Halted because tests were becoming flaky and I had other projects. I'm still listening though, feel free to contribute.
Scroll down for demo
Implementation of the Monopoly game in javascript, rendering done with D3
Not quite yet a complete Monopoly game, right now players alternate, roll the dice, buy and trade properties and pay rents (and eventually go bankrupt). The main game flow is operational, from the beginning to the end.
Features missing to be a complete game of Monopoly :
Those nice features I'd like to play with after the basics are complete :
Click here and enjoy ! UI is available in english and french, depending on your browser language. Other languages will default to english. Monopoly board is the one we have in US/Canada.
To setup the project after downloading the sources, install node.js, then run 'npm install' both in the project directory and in the client/ subdirectory. After, the 'grunt' command should be available to build from that directory.
Run 'grunt background'. While it runs, open another terminal and run 'grunt check' to run tests and deploy. Also, the server is running in the background, so it is accessible on http://localhost:3000. It is also possible to connect directly to the Karma server on http://localhost:9876
Note: grunt runs karma on windows using git bash, so it must be in the path. Logically, at this point Git Bash should be installed, since you just pulled the sources from GitHub. But be sure to put Git Bash in the path (installation option in 'Git for Windows' installer)
This setup is not tested on non-Windows systems and therefore I don't know if this works.
Application states
... and for when the application is in the "Playing game" state :
As you can see, it still misses a couple of features to make it a standard game of monopoly. They will be implemented later.