Skip to content

MCTS AI that evaluates Mancala moves + a GUI, written in Rust.

Notifications You must be signed in to change notification settings

qxzcode/mancala_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mancala_bot

This is an AI that determines good moves in a variant of the board game Mancala. It uses Monte Carlo tree search with uniform random rollouts for leaf evaluation.

Screenshot of the GUI

How to run it

  1. Make sure you have Rust installed.
  2. Clone/download this repo, and go to it in a terminal.
  3. Run cargo run --release
    • When run for the first time, this will automatically build the executable.

A background thread continuously performs Monte Carlo simulations from the current game state. The UI displays its evaluations of each of the possible moves, including the visit proportion (blue bars) and the estimated score for the current player.

About

MCTS AI that evaluates Mancala moves + a GUI, written in Rust.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages