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).
Hosted directly from github:
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.
.
├── config # webpack configuration
├── src # javascript sources
└── www # static assets
├── assets # multimedia assets
├── dist # build from src
└── libs # js libraries including gamee-js framework