Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 380 Bytes

game.md

File metadata and controls

13 lines (7 loc) · 380 Bytes

#Game

The index.js returns a function which is a constructor that creates the Game instance.

Properties

Game.prototype.turn - instance of Turn

Game.prototype.market - instance of Market

Game.prototype.pile - instance of Pile

Game.prototype.emitter - instance of EventEmitter which exposes events you can subscribe to.