RISK-game / Website

The frontend GUI for the game. Could easily be replaced with e.g. an app or a windows GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Website

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.

Stack

  • Angular for the app
  • Gulp is used to minify and build all SCSS and JS code.

Install

  1. Run npm install.
  2. Run gulp

Developing

  1. Use something like http-server to get an HTTP access point to the index.html file. (Run npm install http-server -g and then open localhost:8080 in your broswer). (You can't just open the index.html file because most AJAX calls will fail due to security reasons).

  2. Run gulp, this will watch for JS and SCSS changes and then build these files.

Git flow

We use simple git flow.

About

The frontend GUI for the game. Could easily be replaced with e.g. an app or a windows GUI


Languages

Language:JavaScript 47.6%Language:HTML 37.7%Language:CSS 14.7%