A Rust/Wasm implementation of Tic Tac Toe.
The ui is stil in plain javascript.
There is also js implementation of the ai for comparaison with wasm.
It use a Monte Carlo simulation to power the Ai
Rust / Node / npm
rustup target add wasm32-unknown-unknownMake sure you have cargo install wasm-pack, then:
npm installnpm startRun the rust tests
npm run test:rust