💾 Archived View for bbs.geminispace.org › u › gritty › 16641 captured on 2024-08-25 at 06:55:09. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-08-18)
-=-=-=-=-=-=-
Re: "@gritty When I open the "Play Farkle" / proceed to app link..."
@sev welp, I'm an idiot. I used randrange(1,6) instead of randint(1,6), the latter being inclusive of the 6. I could've done randrange(1,7) as well. You'd think I'd have noticed after all the testing lol. Thanks for identifying.
May 07 · 4 months ago
I obv don't write unit tests for my code, and I should.
Glad it was an easy fix. Funny it took us so long to notice!
Haha! You’re right!
@gritty if you go to gemini://gemini.smallweb.space/farkle/tournament/current.gmi then click on rules the link is broken
There might be some other broken links as well
might be a record today, everyone is in the 6k range with one tie.
another case I didn't account for is ties for 1st 2nd and 3rd.
this is why I'm not a professional programmer, ha. thanks for your patience
@gritty When I open the "Play Farkle" / proceed to app link (/farkle/app), it has started responding with status 10 so I get an input prompt. A bug? The game works normally after submitting empty text in that initial query.