Skip to content

Instantly share code, notes, and snippets.

@tuykin
tuykin / game_drawer.js
Created May 24, 2018 18:07
GameDrawer
var cfg = {
boxes_count: 10,
players_count: 3,
boxes_seq: 'random' // 'sequental'
}
var game = new Game(cfg)
var bone_value = game.dropBone();
game.currentPlayer.moveTo(bone_value);