Thanks! Sorry about the all caps being required, but I didn’t want to change any behavior.
Yeah, Rust+WASM is pretty nifty.
I hate web development. The web is a hopelessly broken platform usurped and weaponized by corporations and rubber stamped by the useless W3C.
There is one bit of behavior this web version does not handle with fidelity. In the original, if you try to carry the gold nugget down the stairs at the top of the small pit (having first gotten it to the top) the game goes into an infinite loop. The Rust version, just like the PDP-10 version, just prints the same message over and over, while the web version just hangs and never updates the display unless you stop the script. It bugs me, but not sure I want to take the time and effort to fix it.