News for hackers. Stuff that matters.
Re:Show HN: ssh wordle.bdw.to by bndw on Saturday February 26, 2022 @11:53AM (#30479254)
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

Re:Show HN: ssh wordle.bdw.to by jiffygist on Saturday February 26, 2022 @12:27PM (#30479638)
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 by markozivanovic on Saturday February 26, 2022 @11:51AM (#30479233)

    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 by DWakefield on Saturday February 26, 2022 @01:56PM (#30480562)
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 by bndw on Saturday February 26, 2022 @02:32PM (#30480980)
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!