ashraftryfie / colored_ball_sort_puzzle_game

Generate random puzzles (with the specified number of colors, and specified tube height) & Solve it with using several algorithms [DFS, BFS, UCS, Hill-Climbing, A*]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Colored Ball Sort Puzzle Game πŸŒˆπŸ•ΉοΈ

This project is a fun and addictive puzzle game where you have to sort the colored balls into their matching tubes. It is based on the popular mobile game of the same name. It is written in Python and uses multiple algorithms to implement the game logic and the AI opponent.

Features 🎁

  • Play with different levels of difficulty and number of colors
  • Choose from two modes:
    1. user vs user (Classical Mode)
    2. user vs computer (AI Mode)
  • In Classical Mode, drag and drop the balls to move them between the tubes
  • In AI Mode, watch the computer make the moves for you or challenge it to a duel
  • Tap on a tube to select it or deselect it
  • Undo your moves if you make a mistake
  • Reset the level if you get stuck
  • Track your progress and score

How to run? πŸš€

  • Download or clone this repository
  • Open project in your preferred Python IDE
  • Run the main.py file
  • Enjoy!

About

Generate random puzzles (with the specified number of colors, and specified tube height) & Solve it with using several algorithms [DFS, BFS, UCS, Hill-Climbing, A*]


Languages

Language:Python 100.0%