Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 2.01 KB

README.md

File metadata and controls

53 lines (36 loc) · 2.01 KB

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 [email protected]: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