A recreation of the popular game of Connect-Four featuring an AI player with multiple difficulties. This web app was built purely using Rust and WebAssembly. We used Rocket as the backend framework, Yew as the frontend framework, and Cargo-Web as the build tool. Check out this sweet video for more details!
sudo apt install -y build-essential pkg-config libssl-dev
cargo install -f cargo-web
Go to the connect-four-frontend
directory, then run:
bash build.sh
Install and start MongoDB: https://www.mongodb.com/download-center/community
rustup default nightly
Go to the connect-four-backend
directory, then run:
cargo run
Open the game at http://localhost:8000/
Go to the connect-four-cli
directory, then run:
cargo run