+
Skip to content

Minko82/mancala-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

♟️ Mancala AI

A command-line Mancala game powered by AI using Minimax and Alpha-Beta Pruning, with configurable search depth for adjustable difficulty.



📊 100-Game Simulation Mode

Benchmark AI performance through automated simulations that reveal strategic strength over time.

Player 1 Player 2 Depth (Plies) Games Description
random_player random_player 100 Baseline comparison of randomness
minimax_player_with_variable_plies(5) random_player 5 100 Minimax vs random
alpha_beta_player_with_variable_plies(5) random_player 5 100 Alpha-Beta vs random
alpha_beta_player_with_variable_plies(10) random_player 10 100 Deeper Alpha-Beta vs random
minimax_player_with_variable_plies(5) alpha_beta_player_with_variable_plies(5) 5 100 Minimax vs Alpha-Beta

To Run Simulation:

  python mancala_ai.py


📈 Statistical Analysis

At the end of each simulation, the program outputs win rates, average move counts, and tie frequency — offering insight into each AI’s performance.

Statistics Screenshot


🧠 Powered by AIMA

Built on AIMA’s adversarial search framework.

About

Complete mancala game with an AI player

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载