Skip to content

Rust program that calculates the best move of a Connect 4 game 5 moves in advance

Notifications You must be signed in to change notification settings

Antosser/connect-4-ai-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect 4 AI

Rust program that calculates the best move of a Connect 4 game 5 moves in advance image

Usage

  1. Download the executable from the Releases page
  2. Run it
  3. type in the number of the column that you want to place your tile in
  4. Wait until AI thinks everything through
  5. Choose your move and repeat

How to compile

  1. Download rust (not the game)
  2. Go into the directory with the Cargo.toml and run cargo build -r
  3. Executable should be in target/release

About

Rust program that calculates the best move of a Connect 4 game 5 moves in advance

Topics

Resources

Stars

Watchers

Forks

Languages