This game is an expansion of a tutorial supplied by the Phaser.js creator.
Setting up the game is very easy! Simply start up XAMPP, copy the phaser-game folder into your htdocs directory within XAMPP, and run CreateScript.sql in your MySQL Workbench or command line.
In your browser, navigate to localhost/phaser-game/index.php and read the page to start playing!