ConorSheehan1 / spelling-bee

Free open source version of the New York Times Spelling Bee game
https://spelling-bee-free.pages.dev
MIT License
44 stars 26 forks source link

Fix bug causing games to restart at incorrect times #44

Open stelcodes opened 2 months ago

stelcodes commented 2 months ago

Previously the game to be played was determined by using the UTC date at runtime. This was problematic because the UTC date can differ from the user's local date, causing games to switch over at all times of day depending on where in the world the user was located. Now the game to be played is determined by using the local date at runtime and switches over into the next game when the local date changes.


Love the game! It's my favorite Spelling Bee clone. I want to help fix this bug because I've been running into it.

Fixes #37