Created
January 2, 2021 18:01
-
-
Save priort/d8d4d1e33ffc8512d2a1c3afc319448c to your computer and use it in GitHub Desktop.
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
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