Created
August 5, 2020 22:06
-
-
Save parzibyte/01b766186bb16768074183a8e6ce7288 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
cellImage(cell) { | |
if (cell === this.PLAYER_1) { | |
return "img/player1.png"; | |
} else if (cell === this.PLAYER_2) { | |
return "img/player2.png"; | |
} else { | |
return "img/empty.png" | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment