Skip to content

Repository files navigation

🎨 The Color Game
The Color Game is a fun, reflex-based arcade game built using Python (Pygame). Your goal is simple — match the color of the ball with the falling colored bars before it’s too late!

🕹️ Gameplay Overview
A colored ball is positioned at the bottom of the screen.
Colored bars continuously fall from the top.
Move the ball left or right using arrow keys to match its color with the falling bar.
Each correct match increases your score.
A mismatch ends the game instantly.
The highest score is saved locally in hiscore.txt.

🧠 Features
🎮 Simple and intuitive controls (← and → keys)
🎵 Background music and fun sound effects
🖼️ Home, Rules, and Game Over screens
💾 High-score tracking system
🌈 Dynamic color patterns and smooth animations

⚙️ Installation & Setup
Clone the repository:
git clone https://github.com/A-Saraf/Permeable-Color.git
cd The-Color-Game

Install dependencies:
pip install pygame

Run the game:
python Main.py

🎯 Controls
Key Action
⬅️ Left Arrow Move ball left
➡️ Right Arrow Move ball right
↩️ Enter Start / Continue game
R View rules screen

🧩 Game Flow
Home Screen → Press Enter to start or R to view rules
Gameplay → Match colors, score points, and beat your high score
Game Over Screen → Press Enter to restart

🛠️ Technologies Used
Python 3.x
Pygame (for visuals, animation, and sound)

👨‍💻 Author
Name: Avyav Saraf
GitHub: https://github.com/A-Saraf

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages