Skip to content

MRSadeghi78/Quoridor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents
  1. About The Project
  2. Built With
  3. Getting Started
  4. Usage
  5. License
  6. Contact

About The Project

Quoridor is a 2 or 4-player intuitive strategy game designed by Mirko Marchesi and published by Gigamic Games. You can read more about this game here. This project has 3 parts: Logic, AI and Learning.

Logic

This part of Project is a simple multi-player quoridor game. It has 2-players and 4-players mode and you can play it with your friends.

AI

In this part you are playing with an AI-based opponent. This AI agent uses minimax tree and alpha-beta pruninig algorithms. This part has 2-players and 4-players mode too.

Learning

In this part AI agents play together to gain experience. In the end, the AI agents which had the best functionality will be the winner of the course. You can see details about thses matches in the log files in Learning folder. This part uses multi-threads to speed op the program.

Built With

The whole project is built with python. Even for graphic parts of project we used pygame.

Getting Started

At the first place, you need to download the project. You can dowanload it completely as a zip file or do the following commands.

Clone the Project

Run following commands in your terminal

git clone https://github.com/MRSadeghi78/Quoridor.git

Enter the project directory

cd Quoridor

Installation

Make sure you have python installed in your computer

python --version

If the version of python didn't show up, install python using following command in linux

sudo apt-get update
sudo apt-get install python3.6

Or if you use windows, download it from here

Run the Program

First enter the project directory, then run the following command:

python Main.py

The work is done! Enjoy the game :)

Usage

You can get a good understanding of some machine learning concepts like Genetics Algorithm or some AI methos like minimax tree and alpha-beta pruning by reading the source codes. And if you are not interested in its implementation, just play it and enjoy your time!

License

Distributed under the Apache License. See LICENSE for more information.

Contact

MohammadReza Sadeghi

Project Link: click

If there was anything else, I'll be happy to let me know :)

About

main project of AI course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages