👋
rust-gomoku
A console and web-based Gomoku written in Rust and WebAssembly
Getting started with cargo & npm
Install required program, run
# install cargo & wasm-pack
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
# install npm
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs -y
Go project root, run
cd rust-gomoku
For a system with Webassembly, run
wasm-pack build
Go web dir, run
cd ./web
Install package.json file's dependency, run
npm install
And enjoy
npm run start
Features and bugs
Please send feature requests and bugs at the issue tracker