Skip to content
Spinner Winner - sample HTML5 game with implementation of GameeJS 2.0 and saveState feature
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
src
www
.gitattributes
.gitignore
README.md
package.json
run-server.js

README.md

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.html?projectUrl=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.html?projectUrl=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
You can’t perform that action at this time.