Skip to content

sepiropht/tic-tac-toe-wasm

Repository files navigation

tic-tac-toe in rust/wasm

Demo Greenkeeper badge

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

Prerequisites

Rust / Node / npm

rustup target add wasm32-unknown-unknown

Install

Make sure you have cargo install wasm-pack, then:

npm install

Run

npm start

Test

Run the rust tests

npm run test:rust

About

rust wasm tic-tac-toe

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •