Skip to content

Instantly share code, notes, and snippets.

@priort
Created January 2, 2021 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save priort/d8d4d1e33ffc8512d2a1c3afc319448c to your computer and use it in GitHub Desktop.
Save priort/d8d4d1e33ffc8512d2a1c3afc319448c to your computer and use it in GitHub Desktop.
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