-
-
Save slior/b021eab70e5df07587923a1ec6dbe82b to your computer and use it in GitHub Desktop.
Mancala (0c689644b4dc50a85bb7d246bc45531a403cdf79) - game.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const CELL_COUNT = 14; | |
let board = new Board(CELL_COUNT) | |
function initGame(cnvsELID) | |
{ | |
drawBoard(initCanvas(cnvsELID)); | |
let cnvs = initCanvas(cnvsELID) | |
drawBoard(cnvs,CELL_COUNT); | |
drawBoardState(cnvs,board); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment