indigo
indigo copied to clipboard
An FP game engine for Scala.
The default java.util.Random handles calls to `nextInt(x)` where `x` is a power of two specially. In Indigo, this leads to the fact that when you do `dice.rollRange(1, 4)` at the...
The keyboard and keyboard events rely on the `keyCode` from the JavaScript event, but this is deprecated [according to MDN](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode). It is supposed to replace by [`code`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code) (which is a...
Tests now run 3 lots of 200,000,000 rolls of dice and check the distribution of the results in order to test the assertion made in #750 There's a minor code...
@hobnob did some excellent work a while back to offload an expensive process onto webworkers, and I'd like to be able to use that again but with some built in...
This might be a duplicate issue, but I couldn't quickly see another. I've definitely considered this before and I think it's the right thing to do. (I also suspect it's...
A good suggestion came in today from @sherpal. What if you'd like to extend the behaviour of Indigo, need access to some of its internal machinery, and would like to...
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.4 to 4.0.8. Release notes Sourced from micromatch's releases. 4.0.8 Ultimate release that fixes both CVE-2024-4067 and CVE-2024-4068. We consider the issues low-priority, so even if you...
... in particular, a single connected Joy-Con. Fixes https://github.com/PurpleKingdomGames/indigo/issues/760 I imagine we could go one step further and handle the hypothetical case where there is 0 axis (They seem to...