Skip to content

jmacuga/Nine-men-s-morris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nine Men's Morris Game

Nine Men's Morris implementation with AI player.

Configuration and running

Requirements: python3.9 tabulate==0.9.0 To run program, run ui_game.py file

python3 -m ui_game

Game description

  • In the main menu you can choose the size of the board. There are 4 possible variations: Three,__ Six__, Nine or Twelve men's morris, each with different number of points. Different board sizes have different game phases and game rules. For details go to Wikipedia Nine Men's Morris page

  • Next you can choose the two player's mode or a game with the computer

  • Player puts pawns on the board by typing the coordinates of desired point.

AI player mode

The computer player checks possible future moves and predicts the optimal move using MiniMax algorithm with alpha-beta pruning. The depth of search is set to 4.

Gameplay screenshots

Start Menu:

Three Men's Morris board:

Six Men's Morris board:

Players symbols:

About

Nine Men's Morris implementation with AI player

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages