Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 557 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 557 Bytes

connect4win

a connect-four engine for cli and web

build and run

  • build the database with
    • extract
      cd database/
      unzip db-12ply-distance.zip
    • cargo test make_game_database -- --nocapture

CLI

  • dependencies rustup, cargo
  • build cargo build --release
  • run cargo run or ./target/release/connect4win

WEB

  • dependencies rustup, cargo, rustup target add wasm32-unknown-unknown, cargo install dioxus-cli --locked
  • run dx serve --release