The Dockerfile builds using the locked Cargo dependencies. That may or
may not be useful to me, but it does mean I need a lockfile.
This will also be used as the 0.1.0 release.
The webserver needs to serve an HTML document, which needs to load the
loader JS (from WASM bindgen), which loads the WASM file. This page is
about as small as it can be while still functioning. I'm not interested
in doing web page stuff right now, so this will have to do.
I've added a runner override to use the wasm-server-runner for easy
devlopment -- it's a localhost webserver to provide the WASM binary &
it's bootstrap code.
There is also target-specific config related to the RNG back-end.
It doesn't actually make any sense to not use the default main loop for
this program. If I knew the updates would frequently go long spans
without changing anything, I'd do some kind of needs-refresh notice.
And that's the program, all finished and working as intended.
Step 1: boiler plate.
Step 2: Everything else.
The program isn't that complicated, so I didn't really feel the need to
spread it out over several commits.
I don't need the game loop running at full speed all the time. I'm going
to see about putting Bevy into "low power mode" while still drawing at
regular intervals.