=> Re: "@gritty When I open the "Play Farkle" / proceed to app link..." | In: u/skyjake
btw, the random function used is systemrandom
=> π gritty
2024-05-06 Β· 9 months ago
=> π sev Β· 2024-05-07 at 07:52:
@gritty I just noticed something: I've never rolled a 6! I thought there was something weird going on with the odds: I never get a straight and always seem a bit too lucky getting ones and fives!
=> π gritty Β· 2024-05-07 at 09:56:
ohhhh you might be right!
=> π gritty Β· 2024-05-07 at 12:24:
@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.
=> π gritty Β· 2024-05-07 at 12:25:
I obv don't write unit tests for my code, and I should.
=> π sev Β· 2024-05-07 at 16:06:
Glad it was an easy fix. Funny it took us so long to notice!
=> π satch Β· 2024-05-07 at 16:59:
Haha! Youβre right!
=> π satch Β· 2024-05-07 at 17:08:
@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
=> π gritty Β· 2024-05-07 at 22:59:
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.
=> π¬ 13 comments Β· 2 likes Β· 2024-05-06 Β· 9 months ago This content has been proxied by September (3851b).Proxy Information
text/gemini; charset=utf-8