All frontend code for the game. Driven by angular. This repo is forbidden to directly control the game. Everything that modifies the game need to go through the Gameserver API. The idea is that anyone should be able to write their own GUI for our game.
- Angular for the app
- Gulp is used to minify and build all SCSS and JS code.
- Run
npm install
. - Run
gulp
-
Use something like
http-server
to get an HTTP access point to the index.html file. (Runnpm install http-server -g
and then openlocalhost:8080
in your broswer). (You can't just open the index.html file because most AJAX calls will fail due to security reasons). -
Run
gulp
, this will watch for JS and SCSS changes and then build these files.
We use simple git flow.