Hacker News new | ask | show | jobs
Show HN: ssh wordle.bdw.to
9 points by bndw 1580 days ago
2 comments

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.

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

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!