- 8-puzzle and 15-puzzle Game using OpenCV/Python
- Structure of the application
- Features
- Wanna try out this game??
- Interested in working of the game? - Installation Procedure
- Like the repo??
This repository contains an 8-puzzle and 15-puzzle game.
This simple game comes with a elegant user interface and options using mouse & keyboard stokes. User has the ability to play either an 8 or a 15 puzzle game.
The Front-end GUI for this game is built by OpenCV (Computer Vision) and can be replaceable.
Core functionalities for game-space conditions and hinting system are included in puzzle.py.
puzzle.py - Back-end | Code for game conditions and hinting system Game.py - Fornt-end | GUI using Open CV
- Generates only solveble puzzles
- Comes with a Hint suggestion
- Windows executable included in a dist folder
- Windows executable file available in dist/Game.exe
- available on https://docs.conda.io/en/latest/miniconda.html
- Make sure to setup the environment variable for conda command
-
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
$python3 Game.py
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.