A Rust/WASM Pathfinder for Adventure.Land.
This project is a work in progress. It currently doesn't work.
- Run
wasm-pack
to build. - Add the following lines to
package.json
:
"main": "alpathfinder.js",
"type": "module",
- In the node project you want to use the pathfinder, run
npm install alpathfinder@file:../path/to/alpathfinder
. - Run your project in node with the flag
--experimental-wasm-modules
.