chenyukang / gomoku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gomoku

Build Status

A Gomoku Web Applition to explore minimax algorithm with alpha-beta tunning, Azure Function, Rust and WebAssembly.

Usage

Build server backend

cd backend
cargo build --release --features "server"
./target/release/gomoku -s  //start server listen to http://localhost:3000

Open client/index.html in browser and have fun.

Build WASM backend

cargo install wasm-bindgen-cli wasm-pack
./wasm.sh

demo

Credits

Thanks Yunzhu.Li for initial version of Client.

About


Languages

Language:Rust 72.2%Language:HTML 18.1%Language:JavaScript 6.7%Language:CSS 2.4%Language:Shell 0.5%