Gameplay Overview
The premise is simple but deceptive:
1.Observe: At the start of each round, a clear instruction appears at the top of the screen (e.g., "DON’T TAP RED").
2.React: A grid of colored boxes is presented. You must tap any color except the one mentioned in the instruction.
3.Survive: Every correct tap increases your score and immediately triggers the next round.
4.The Trap: If you tap the forbidden color or let the countdown timer reach zero, it’s Game Over.
Key Features
•Dynamic Difficulty: As your score increases, the countdown timer shrinks, and transitions become faster, pushing your reflexes to the limit.
•Vibrant Visuals: Features a clean "Material Design" inspired UI with a bright, high-contrast color palette (Red, Blue, Green, Yellow, Purple, Orange).
•Tactile & Audio Feedback: Includes haptic vibration on errors and crisp sound effects to enhance the sensory experience.
•Progress Tracking: Automatically saves your High Score locally using SharedPreferences, allowing you to compete against your personal best.
•Modular Architecture: Developed using modern Android practices (Kotlin), with logic separated into dedicated managers (ScoreManager, ColorGenerator) for smooth, lag-free performance.
Technical Specifications
•Language: 100% Kotlin.
•UI Framework: XML-based layouts with GridLayout and ConstraintLayout for a responsive experience on any screen size.
•Timing Engine: Precision CountDownTimer implementation for the round-based pressure system.
•Stability: Optimized for low memory usage and high frame rates.
Why It’s Addictive
ColorTrap leverages the Stroop Effect—the delay in reaction time when a brain is hit with conflicting information. By forcing you to ignore a specific visual cue while under time pressure, it creates a "one more try" feeling that keeps players coming back to beat their high scores.