Part 3 completes the bubble shooter game with scoring mechanics, dynamic row management, life systems, and game over conditions that create engaging gameplay loops.
What you'll learn
Scoring System
The scoring rewards strategic play with multiple point mechanisms:
- Base points: 30 for three-bubble matches
- Size bonus: 20 per additional bubble
- Floating bonus: 100 per disconnected bubble
Score updates provide instant feedback for positive actions.
Row Management
New rows appear when players exhaust life bubbles. The system includes:
- Position updates: Bubbles shift down with coordinate recalculation
- Grid sync: Game grid matches new positions
- Random colors: New rows use available bubble types
Life System
Five visual life bubbles track remaining attempts:
- Missed shots: Reduce lives with texture changes
- Reset cycle: Lives restore after row additions
- Penalty trigger: Exhausted lives add new rows
Game Over
Game ends when bubbles reach bottom row:
- Detection: Monitors bubble field overflow
- Score display: Shows final score with overlay
- Restart option: Complete state reset available