Skip to content

AI capable of playing the game Othello implemented in Rust

Notifications You must be signed in to change notification settings

PhilipCramer/RustyOthelloAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusty Othello AI

AI capable of playing the game Othello implemented in Rust. It is developed to work with this game implentation

Table of Contents

Introduction

Rusty Othello AI is an implementation of an artificial intelligence capable of playing the game Othello (also known as Reversi) using Rust. The AI uses Monte Carlo Tree Search (MCTS) to determine the best moves.

Installation

To install and run the Rusty Othello AI, you need to have Rust installed on your system. You can install Rust by following the instructions here.

Clone the repository to your local machine:

git clone https://github.com/PhilipCramer/RustyOthelloAI.git
cd RustyOthelloAI

Build the project:

cargo build --release

Usage

To run the AI, execute the following command:

cargo run --release <color>

Replace <color> with either black or white to specify the AI's color.

Project Structure

  • src/main.rs: The main entry point of the application. It handles the game loop, command-line arguments, and interactions with the server.
  • src/mcts.rs: Contains the implementation of the Monte Carlo Tree Search algorithm.
  • src/othello.rs: Contains the implementation of the Othello game logic, including game state and actions.
  • Cargo.toml: Contains the project metadata and dependencies.

Contributing

Contributions are welcome! Please fork the repository and open a pull request with your changes.

About

AI capable of playing the game Othello implemented in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages