gcpreston / cuberacer_live

🧩 Twisty puzzle racing platform
https://cuberacer.io
0 stars 0 forks source link

RoomServer transient state #96

Closed gcpreston closed 2 years ago

gcpreston commented 2 years ago

This PR adds transient state to RoomServer. For this PR, it is used to track if a user is currently solving, and if they are using keyboard input. This allows these pieces of data to be known when a user first enters the room, as opposed to before, where "Solving..." was just a broadcasted message, so if a user was not in the room for it, they would not know a user was currently solving when they entered.