hookFang / sample-game-spinner-winner

Spinner Winner - sample HTML5 game with implementation of GameeJS 2.0 and saveState feature

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spinner Winner

Source code of the popular game on GAMEE.

Spinner game implements the basic functionality of the gamee-js framework and the save state feature. Most of the basic functionality is dedicated in src/gamee/GameeConnector.js file (find more about the basic functionality in the gamee-js wiki). Save state feature is used in src/Game.js file, Line 137 (find more about the save state feature).

Open in the Emulator right now

Hosted directly from github:

http://emulator.gameeapp.com/emulator?url=https://cdn.rawgit.com/gameeapp/sample-game-spinner-winner/master/www/index.html

Modify something

Required: NodeJS, NPM

Clone the repository and install the dependencies with NPM.

git clone git@github.com:gameeapp/sample-game-spinner-winner.git --depth 1
cd sample-game-spinner-winner
npm install

Start realtime building with Webpack 2 and webserver with NodeJS & Express.

## Windows 
npm start

## Linux & OSX
npm run osx

Test if the game is running, use localhost URL in the Emulator.

http://emulator.gameeapp.com/emulator?url=http://localhost:3000

Modify source code in the src/ folder.

Project structure

.
├── config              # webpack configuration
├── src                 # javascript sources
└── www                 # static assets
    ├── assets          # multimedia assets
    ├── dist            # build from src
    └── libs            # js libraries including gamee-js framework

About

Spinner Winner - sample HTML5 game with implementation of GameeJS 2.0 and saveState feature


Languages

Language:JavaScript 78.0%Language:CSS 20.1%Language:HTML 1.9%