UCLA-Creative-Labs / spot-the-song

MIT License
2 stars 0 forks source link

🚀 Feature: add variables to track game progress in Lobby #15

Open darren2hang opened 1 year ago

darren2hang commented 1 year ago

We need to keep track of the game progress within a lobby.

Use Case

We need:

We will initialize these variables when a lobby is created. We will update these variables when we get a random song and when we play or pause it. A game will play a total of 5 songs, so we should initialize songsToPlay to 5 and decrement it each time a new song is retrieved.

Proposed Solution

Modify the member variables and constructor of the Lobby object inside packages/@aurgy/server/lib/lobby.ts


This is a :rocket: Feature Request