Skip to content

A halma checker game with AI Agent build using Python that use Minmax Algorithm (with Alpha Beta Pruning) and Local Search

Notifications You must be signed in to change notification settings

William9923/HalmaChecker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Halma AI

A halma checker game with AI Agent that can make yourself better...

✨ Features

  • GUI / CMD Board
  • Multiple size board (8x8, 10x10, 16x16)
  • Multiple AI Agent Style (Minmax, Local Search)
  • Multiple Game Mode (Player vs AI, AI vs AI)

Usage

  1. (optional)Install virtualenv if you haven't
pip install virtualenv
  1. Create a virtualenv
$ virtualenv venv
  1. Activate the env
  2. Download required dependencies

Activate env for python:

  1. For windows
$ venv\Scripts\activate
  1. For macOS / Linux
$ source venv/bin/activate

Download required dependencies:

pip install -r requirements.txt

Adding dependencies

$ pip freeze > requirements.txt

Available scripts :

Simply just run this command to play this game, even you don't have the dependencies installed : Windows :

run.bat

Linux/MacOS:

run.sh

📚 Tech Stack

  • Python
  • PySimpleGUI

Contributor

❤️ Support

If you feel that this repo have helped you provide more example on learning software engineering, then it is enough for me! Wanna contribute more? Please ⭐ this repo so other can see it too!

About

A halma checker game with AI Agent build using Python that use Minmax Algorithm (with Alpha Beta Pruning) and Local Search

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.0%
  • Other 1.0%