D-Gould / fish-bowl

0 stars 0 forks source link

Join the game #1

Closed D-Gould closed 4 years ago

D-Gould commented 4 years ago

A player can submit their name and a game ID and join the game.

Requirements:

D-Gould commented 4 years ago
  1. Add a function to Game to create a random code when a new Game is created.
  2. In app.js convert games from an array to an object
  3. In app.js add a new get request for room/:code.
    • Figure out how to pull code into the block
    • Figure out how to return to the index page if code doesn't match an existing one
  4. Add player-screen.pug
  5. Add a form to index that takes username and room code
  6. Form should submit to /room/:code