Hacker News new | ask | show | jobs
by Waterluvian 1179 days ago
I tried to break it by asking for -1 rounds. It caught it but then it told me to pick between 10-20, not 5-20 as previously indicated. This feels like a ChatGPT style bug. I find it doesn’t like to do abstractions such as “MIN_GAME_COUNT”, possibly because it doesn’t exactly do a great job going back to what it previously wrote, unless you ask it to.
1 comments

This may have actually been my bad: once chatGPT gave me what I asked for, I would think about it some more and tweak the code manually, especially if it was a low-effort edit. Consequently there will perhaps be some bugs: I’ll fix this one, thanks for sharing!

I hope you do play it for a positive number of rounds though :)

I might just play this for Number.POSITIVE_INFINITY rounds. I’m having a good time. Thank you for using your time to make and share this.
Aw thanks, this makes my day!