Traffic Light Test

Contains ads
Content rating
Everyone
0+
Downloads
Content rating
Everyone
Learn more
Screenshot image
Screenshot image
Screenshot image
Screenshot image

About this game

**Traffic Light Test — React Fast, Stay Focused**

Traffic Light Test is a simple reflex-based game where every tap matters. Watch the traffic light, wait for green, and tap as fast as you can—but don't get fooled by red or yellow traps. Built for quick sessions and score-chasing.

**Gameplay**
- 15 progressive rounds of increasing difficulty
- Three-color traffic light: red (trap), yellow (trap), green (tap!)
- Each round has random wait time before the light changes
- Tap on green light within the time limit to score
- Tapping red or yellow light deducts points and breaks your combo
- Faster reaction time earns higher scores and better ratings

**Difficulty Curve**
- Round 1: 1.4s green light timeout, 0% yellow traps, 25% red traps
- Round 8: 0.75s timeout, 35% yellow, 35% red
- Round 15: 0.63s timeout, 47% yellow, 33% red (ultimate challenge)
- Wait time multiplier decreases from 0.75× to 0.22× across 15 rounds
- Trap lights (red/yellow) last 0.6-1.2s before next round

**Scoring & Combos**
- Correct tap: +10 points
- Wrong tap: -5 points
- Combo bonus: +5 points per consecutive correct tap
- Track your max combo, average reaction time, and fastest tap

**Rating System**
- S: 95%+ accuracy & <300ms fastest reaction
- A: 85%+ accuracy & <400ms fastest reaction
- B: 70%+ accuracy
- C: 50%+ accuracy
- D: Below 50% accuracy

**Pages & Navigation**
- SplashActivity
- HomeActivity (displays high score and total games played)
- GameActivity (15-round test with live score, round counter, and combo display)
- HowToPlayActivity (game rules and tips)
- HistoryActivity (recent 50 game records with timestamp and rating)
- StatisticsActivity (total games, high score, average score, best accuracy)
- SettingsActivity (sound, vibration, theme options)
- Secondary pages return to home, and the home page uses double-back to exit

**UX Features**
- Pure multi-Activity navigation, no bottom tab structure
- Custom traffic light view with smooth glow animations
- Pause dialog with resume/home options (back button during game)
- Game over dialog with detailed stats and retry/home buttons
- Edge-to-edge adaptation for status bar and bottom system area
- Optimized rendering with software layer for maximum smoothness

**Visual Feedback**
- Traffic light glow animation: 150ms duration for instant response feel
- IDLE state breathing animation: 1000ms cycle with 0.6-0.9 alpha range
- Color-coded light states: bright red/yellow/green when active, dim gray when off
- All three lights show colored outlines in IDLE state for better visibility
- No vibration or scaling animations to maintain 60fps smoothness

**Ad Integration**
- TradPlus SDK integrated through an independent module
- Interstitial ads: game-over to home transition
- Ad unit IDs are injected via local secrets; GDPR collection is consent-gated
- Preloaded ads for smooth transitions

**Technical Notes**
- Kotlin
- XML Layout
- ViewBinding
- MVVM architecture (LiveData + ViewModel)
- Multi-Activity structure
- Game state machine with coroutine-based timing
- Persistent game records with Gson serialization
- SharedPreferences for user settings and statistics
- Custom TrafficLightView with Canvas rendering
- Java 17
- minSdk 26 / targetSdk 36 / compileSdk 36
- Android 16KB memory page alignment
- Lava Fire theme with warm brown-red color scheme
- Release signing configured with local keystore and minify disabled

**Performance Optimizations**
- Software rendering layer for consistent frame rate
- postInvalidateOnAnimation() for smooth canvas updates
- Removed vibration feedback to eliminate system latency
- Removed scaling animations to prevent layout recalculation
- Lightweight sound effects only (no heavy haptic feedback)
- Red/yellow trap lights last 0.6-1.2s (40% faster than before)
- Yellow-to-green transition: 350ms (30% faster than before)
- Overall game flow optimized for rapid 15-round sessions
Updated on
Jul 12, 2026

Data safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
No data shared with third parties
Learn more about how developers declare sharing
No data collected
Learn more about how developers declare collection
Data is encrypted in transit
Data can’t be deleted
Content rating
Everyone
Learn more

App support

About the developer
SMH GLOBAL SERVICES (PVT.) LIMITED
ahmadlxmn5678@gmail.com
Plot 51-C Jami Commercial Street 11 Mezzanine 01, DHA Phase 7 Karachi, 74400 Pakistan
+92 323 9636939

More by Sajjad55