cmnord / jep

🌎 Jep! multiplayer trivia online
https://whatis.club
MIT License
11 stars 4 forks source link

Improve buzzer: fair tiebreaks and quantization #62

Closed neilmovva closed 2 months ago

neilmovva commented 6 months ago

Buzzer ties are now broken randomly, independently for each clue. Buzzer times are rounded to the nearest 100ms to slightly deweight buzzer racing as a game mechanic.

vercel[bot] commented 6 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @cmnord on Vercel.

@cmnord first needs to authorize it.

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jep ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 2:30am
menonsamir commented 6 months ago

One (possibly sad) consequence of this PR - almost every prior game will become impossible to review, since the tiebreak rules will resolve ties differently, so the state will get 'stuck' at the first tie that resolves differently.

The main mitigation I can think of would be versioning the game engine, add a column to 'rooms' that holds the engine version at time of creation, and then applying these new tiebreak rules only for the new engine version. It's sadly a bit complicated, though.