kaplayjs / kaplay

🦖 A JavaScript/TypeScript Game Library that feels like a game, fun
https://kaplayjs.com
MIT License
575 stars 41 forks source link

fix: randi now returns 0 or 1 instead of 0 when no args [cherry-pick] #483

Closed imaginarny closed 1 month ago

imaginarny commented 1 month ago

Cherry picking https://github.com/kaplayjs/kaplay/pull/482 onto this branch

pkg-pr-new[bot] commented 1 month ago

Open in Stackblitz

pnpm add https://pkg.pr.new/kaplayjs/kaplay@483

commit: f8e61c2

lajbel commented 1 month ago

Thanks