Add Game UI to schedule.md #877

Closed
MicFin opened this Issue Sep 17, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@MicFin
Contributor

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.
https://git.generalassemb.ly/ga-wdi-boston/game-project/blob/master/schedule.md#game-api

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

Merged

022/master #1070

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