Triple Game
Javascript game like triple town
Installation
npm install triple-game
Docs
Module
const game = require('triple-game');
export | decription |
---|---|
Game | game engine class |
TripleGame | same as game |
Pos | class Pos |
Board | class Board |
TRIPLE_FIG | figure constant definitions |
figures | figure definitions |
figureProp | function |
figureList | function |
figureById | function |
figureImgUrl | function |
Use the bundle
The bundle sets global variable TripleGame.
Scripts
- start
runs a console game - test
runs mocha test - bundle
create bundle.js into /web/js folder
Play
Start a console game
npm start
Start browser game (angular)
Start browser game (react)
Related
- A three.js game with triple-game Triple Three
- (Triple Game full version)TripleGameApp
License
MIT
History
- 2.0.5 add bundle and remove inputloop from dependencies
- 2.0.4 bugfix