andreea-popa22 / Fox-and-Hounds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fox-and-Hounds

This is a two player game, one representing the fox and the other representing the hounds. It is a turn based game with the following rules:

  • Each player can move only one piece while their turn
  • The game starts like this (where the fox is the red piece and the hounds are the black ones):

  • The fox makes the first move
  • The hounds can move only forward diagonally, and the fox can either go forward or backward diagonally one square.
  • The purpose of the fox is to reach the top line of the board (the one the hounds are placed at the beginning of the game)
  • The purpose of the hounds is to block the fox
Example of fox winning:

Example of hounds winning:

The game is implemented using Minimax and Alpha-Beta algorithms.

About


Languages

Language:Python 100.0%