Add Game UI to #877

MicFin opened this Issue Sep 17, 2017 · 0 comments


None yet
1 participant

MicFin commented Sep 17, 2017

Before Game API there should be a step for Game UI to build the HTML/CSS of the game and add the click handlers to connect it to the Game Engine.

Game UI

  • Design a game board
  • Add a click handler for when a space on the game board is clicked
  • If the user clicks on a valid space then add their X or O
  • Update the game engine when the game board is clicked
  • Add messaging to the board when the turn changes, when the game is over (win or draw), and when the user clicks on an invalid space
  • Do not allow users to add an X or O to empty spaces after the game is over

Doing the messaging to update the DOM will be a good first step before updating the API.

@MicFin MicFin added the enhancement label Sep 17, 2017

MicFin added a commit that referenced this issue Dec 18, 2017

@MicFin MicFin referenced this issue Dec 18, 2017


022/master #1070

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment