/Ah-Bao

A Phaser.js game made as a gift for a friend. [Note: only optimized for iPhone 6 screen]

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Ah-Bao

A Phaser.js game made for fun

Developer set up guide (offline environment: Phaser + Grunt + grunt-connect)

  • install Node and NPM
  • install Grunt CLI globally:
    $ npm install -g grunt-cli
  • create package.json
  • install Grunt for Ah-Bao project. Go to An-Bao folder and type the following at the prompt:
    $ npm install grunt --save-dev
  • install plugin Connect to serve local files
    $ npm install grunt-connect --save-dev
  • create Gruntfile.js
  • run the server
    $ grunt connect
  • open http://localhost:1337/index.html in browser

License

GPL-3.0