RPG-coder / TicTacToe-Game

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ‘Ύ 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