Live data from Hacker News

Show HN: ssh wordle.bdw.to

news.ycombinator.com

1–7 of 7 posts

Re: Show HN: ssh wordle.bdw.to

#2

    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. :)

Re: Show HN: ssh wordle.bdw.to

#5
post #3

Author here. I had this idea a couple of weeks ago and wanted to test it out. The code is written in Go and open source: https://github.com/bndw/wordle

IIRC if the word for example has one letter 'e' when I type the answer with two 'e's and one is green the second should not be yellow.

Re: Show HN: ssh wordle.bdw.to

#6

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…

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.

Re: Show HN: ssh wordle.bdw.to

#7

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…

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 clo…

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!