Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Connect-Four WebApp Built With Rust!

License

Notifications You must be signed in to change notification settings

jspenguin2017/Connect-Four

 
 

Repository files navigation

Connect-Four

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!

Get Started

Install build dependencies

sudo apt install -y build-essential pkg-config libssl-dev

Build the frontend

cargo install -f cargo-web

Go to the connect-four-frontend directory, then run:

bash build.sh

Install the database

Install and start MongoDB: https://www.mongodb.com/download-center/community

Start the backend

rustup default nightly

Go to the connect-four-backend directory, then run:

cargo run

See the result

Open the game at http://localhost:8000/

Run the CLI

Go to the connect-four-cli directory, then run:

cargo run

Built By

Dinula, Hugo and Kai

About

Connect-Four WebApp Built With Rust!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 74.4%
  • JavaScript 24.4%
  • Other 1.2%