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. :)
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!
https://github.com/bndw/wordle