Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghophp/thorvarium-js-client
AngularJS based structure, and canvas game.. this is the js client for the thorvarium server
https://github.com/ghophp/thorvarium-js-client
Last synced: 3 months ago
JSON representation
AngularJS based structure, and canvas game.. this is the js client for the thorvarium server
- Host: GitHub
- URL: https://github.com/ghophp/thorvarium-js-client
- Owner: ghophp
- License: mit
- Created: 2015-03-14T13:55:44.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-23T08:31:59.000Z (about 8 years ago)
- Last Synced: 2023-03-23T07:59:01.891Z (almost 2 years ago)
- Language: JavaScript
- Size: 411 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# thorvarium-js-client
[![Build Status](https://travis-ci.org/ghophp/thorvarium-js-client.svg)](https://travis-ci.org/ghophp/thorvarium-js-client)
AngularJS based structure, and canvas game.. this is the js client for the thorvarium server.
### Building
Basic angular stack `grunt-cli` and `bower`
npm install
bower install
grunt### Running
To run the project and simulate the real invironment, you must (after build) set the THORVARIUM_BUILD env variable. This will configure the server to provide the assets from this project. We need the server to provide the assets, because we need that everything run in the same domain, so we can make use of cookies and do a basic auth process with websockets.
Take a look at the server: [thorvarium](https://github.com/ghophp/thorvarium)
### Play Online
Here is the automatic deployed version at heroku: [play](https://thorvarium.herokuapp.com/game/index.html)