Skip to content

Tic-Tac-Toe Game with an unbeatable AI using Minimax Algorithm

License

Notifications You must be signed in to change notification settings

RPG-coder/TicTacToe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👾 TicTacToe-Game 👾

Using Minimax Algorithm and OpenCV + Python

Table of Content 🤖

TicTacToe-Game

This repository contains the TicTacToe game files. TicTacToe Game (3x3) (9 Blocks)

This simple game comes with an elegant user interface and game options using mouse & keyboard stokes. Users can choose to play Player1 vs Player2 (Multiplayer) or Player vs Computer (Artificial Intelligence).

Structure of the application

  • Game.py with core functionality in Python and Frontend GUI is implemented OpenCV-Python

Features : 💯

  • Elegant UI
  • Play against your pals with Player vs Player
  • Switch to play against computer; At anytime during the gameplay
  • Unbeatable Artificial Intelligence player that will keep on suprising you
  • Wanna give a try?? Windows executable included in a dist folder

Demo: Wanna try and see how this game works??

Interested in working of the game? - Installation Procedure

Installation Dependency: Installing Miniconda

Setting up the Environment ⛺ 🌄 🌏 🌎 🌍

  • Open command prompt

  • Execute below command to setup a local environment:

    $ conda create -n puzzle -y # or environment name of your choice

  • Activate your environment:

    $ conda activate puzzle

  • Installing Application dependencies: Installing OpenCV-Python

    $ conda install opencv-python -y

Run the Game 💫

$python Game.py

Like the repo?? 🥰 💓 💜

In case you have taken a like for this repository, please do star or fork my repo. Your support will not only help me in improving recognition for this repository but also encourage me in developing and sharing more interesting projects and contents.

Likewise, Thank you for showing your appreciation to this repo.


Under GNU GPLv3 License