tonyb7 / equations

An online server for Equations, the Game of Creative Mathematics, and On-Sets, the Game of Set Theory
https://equations-online.herokuapp.com/
GNU Affero General Public License v3.0
0 stars 0 forks source link

spectators can flip timer #141

Closed yuxuibbs closed 3 years ago

yuxuibbs commented 4 years ago

I was able to flip the timer in a random room during a tournament multiple times as a spectator after seeing another player do it as a spectator in their room (3 person games for both) but wasn't able to recreate the bug locally with a 2 person game with my brother and my alternate account as players and my main account as spectator (normal game and game in a tournament)

wanted to try to see if spectators could also challenge but didn't want to interrupt ongoing games and that's when I discovered I couldn't recreate the timer flip bug with the 2 player game, current theory is maybe if spectator joins before the game starts, they might have access?

ID 0213, game between CECECE3, hmageq2020, and amoghkashi with last player using 2nd account (kmatz) as spectator

Server: Waiting for amoghkashi to finish setting the goal... Server: kmatz flipped the timer. Server: kmatz flipped the timer. Server: hmageq2020 flipped the timer. Server: hmageq2020 flipped the timer. Server: amoghkashi has called Challenge Now on hmageq2020! CECECE3 has two minutes to side!

ID 2D01, game between JenniferT, LukeM, and Jesswu06 with me as spectator to test to see if this is was possible

Server: JenniferT flipped the timer. Server: People in this room: LukeM, JenniferT, yuxuibbs, Jesswu06 yuxuibbs: I want to test something in this room Server: yuxuibbs flipped the timer. Server: Please wait at least 5 seconds between timer flips! Jesswu06: uh Jesswu06: okay yuxuibbs: ok that's bad Server: yuxuibbs flipped the timer.