larralapid / guess-who-slack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

History UI

larralapid opened this issue · comments

Building the History UI

  1. Design the UI: You'll need to decide on a layout for displaying the game history. Slack provides various options like modal windows, messages, and app home tabs that can be used for this.

  2. Update the UI: Whenever a move is made, you'll need to update the UI to reflect the new game state. This could be done by creating a function that generates the layout based on the current game state and then updating the UI with the new layout.

  3. Persist Game History: You need to store the history of the game, you can use Glitch's persistent storage to save each move made in the game, which can then be used to generate the game history.