Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cellView.addEventListener('click',
() => gameEngine.handleEvent(
{
name: 'turn-taken-event',
player: viewModel.currentPlayer,
row: rIndex,
col: cIndex,
gameboard: gameBoard
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment