Hacker News new | ask | show | jobs
by markozivanovic 1580 days ago

    Statistics
played..................0 win %...................-9223372036854775808 current streak..........0 max streak..............0 guess distribution....... 1...................0 2...................0 3...................0 4...................0 5...................0 6...................0

I lost the game and it seems there's a bug in the stats. Cool idea tho! As a person using the terminal all the time, now I have one more thing as an excuse to procrastinate while pretending to do some actual work. :)

1 comments

I won the game and the stats were buggy for me as well. Still fun!

    Statistics
played..................0 win %...................-9223372036854775808 current streak..........0 max streak..............0 guess distribution....... 1...................0 2...................0 3...................0 4...................0 5...................0 6...................0

Next Wordle in 5 hours 6 mins Connection to wordle.bdw.to closed.

dang, my bad. I did a pretty quick (and large) refactor this morning and must have broke it.

EDIT: it fetches historical games when the session is established. The bug is that after you complete the game, the call to renderStats is still using the old games list; it needs to refresh the list so it includes the game you just completed. I'll fix this over the weekend. Cheers!