Skip to content

GitBrunoCode/MiniMax-Tic-tac-toe-5x5-Python

Repository files navigation

Python MiniMax-Tic-tac-toe-5x5-Grid-Game

ESILV 2021–2022

alt text

Table of Contents

  1. Introduction
  2. Jupyter Notebook
  3. Ursina Engine
  4. Author Info

Introduction

The main objective of this project was to create a program capable of playing a tic tac toe game on 5*5 grid versus a human player. Unlike tic tac toe, the player objective is to obtain a 4 symboles row with his own symbol instead of 3. The AI behind the computer player is based on a MiniMax algorithm, optimized with Zobrist Hashing and alpha beta pruning. Obviously, the MiniMax algorithm is based on a Evaluation function which could be clearly optimized to increase the difficulty of the game.

Useful ressources :

Back To The Top


Jupyter Notebook

alt text

  

The MiniMax Tic-tac-toe 5x5 Grid Game.ipynb file contains all the code in python to play the game

  • Required librairies
    • random
    • math
    • IPython.display
    • ursina

use the following command in your Anaconda console to download the required librairies

   pip install "library name"

Back To The Top


Ursina Engine

alt text

  

Ursina engine is an open source game engine made for python. You can various exemple of project that has been made with it on their github. The following links explain you how to install ursina engine and how to use the librairy.

Back To The Top


Author Info

Back To The Top

About

A Tic-tac-toe program which allow you to play against a basic AI built with MinMax algorithm on a 5x5 grid

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published