@[email protected] to [email protected]English • 21 days agoRulelemmy.blahaj.zoneimagemessage-square57fedilinkarrow-up1385arrow-down16
arrow-up1379arrow-down1imageRulelemmy.blahaj.zone@[email protected] to [email protected]English • 21 days agomessage-square57fedilink
minus-square@aliserlink18•20 days agoreturn Math.random() > 0.5 would also be correct about half the time
minus-square@[email protected]linkfedilink1•20 days agoWouldn’t that only be correct about 25% of the time?
minus-squareRain World: Slugcat GamelinkEnglish0•17 days agofor even, 50% chance of correctness, same for odd.
return Math.random() > 0.5
would also be correct about half the time
Wouldn’t that only be correct about 25% of the time?
for even, 50% chance of correctness, same for odd.