How Scoring Works
Space Birds uses a dual-component scoring system that rewards both survival time and aggressive pig elimination. Your final score is the sum of these two components.Score Formula
Total Score = Time Points + Kill Points
- Time Points: 1 point per second survived
- Kill Points: 10 points per pig destroyed
Time-Based Points
Survival Scoring
Every second you survive in the game adds to your score.| Time Survived | Points Earned |
|---|---|
| 1 second | 1 point |
| 10 seconds | 10 points |
| 30 seconds | 30 points |
| 60 seconds | 60 points |
| 120 seconds | 120 points |
The game timer starts as soon as you transition from MENU to PLAYING state and continues until game over.
Time Tracking
The game displays your current survival time in the top-right corner during gameplay:Time points are calculated as an integer, so 45.9 seconds counts as 45 points, not 46.
Kill-Based Points
Pig Destruction Bonus
Each pig you destroy with your bullets awards a significant point bonus.| Action | Points Awarded |
|---|---|
| Destroy 1 pig | 10 points |
| Destroy 5 pigs | 50 points |
| Destroy 10 pigs | 100 points |
| Destroy 25 pigs | 250 points |
| Destroy 50 pigs | 500 points |
Kill Counter
The game tracks and displays your pig destruction count:Despite being called “Asteroides” in the display (from the original space theme), these represent the pigs you’ve destroyed.
How Kills Are Registered
A kill is registered when:- ✅ Your bullet’s hitbox overlaps with a pig’s hitbox
- ✅ Both the bullet and pig are destroyed
- ✅ Explosion sound plays (muerteCerdo.mp3)
- ✅ Kill counter increments by 1
Total Score Calculation
Real-Time Score Display
During gameplay, your current score is displayed in real-time:- Current survival time (seconds elapsed)
- Current pig kills (× 10)
Score Calculation Examples
Example 1: Defensive Play
- Time: 60 seconds = 60 points
- Kills: 5 pigs = 50 points
- Total: 110 points
Example 2: Aggressive Play
- Time: 45 seconds = 45 points
- Kills: 30 pigs = 300 points
- Total: 345 points
Example 3: Master Player
- Time: 120 seconds = 120 points
- Kills: 80 pigs = 800 points
- Total: 920 points
Final Score Display
When the game ends, your final score is calculated and displayed on the GAME_OVER screen:When Score Is Calculated
Your final score is locked in when:- A pig collides with your bird (automatic game over)
- You press ESC to quit (manual game over)
If you press ENTER during gameplay to view the score screen, this does NOT end the game. Only collision or ESC triggers final scoring.
High Score Tips
Maximize Your Points
1. Aggressive Shooting
Destroy every pig you can. Each kill is worth 10 seconds of survival time!
2. Position Strategically
Stay in positions where you can shoot pigs early while maintaining safety.
3. Mind the Cooldown
With 0.3s between shots, accuracy matters. Don’t waste bullets!
4. Clear the Screen
Don’t let pigs accumulate. More pigs = higher collision risk = game over.
Score Optimization Strategies
Early Game (0-30s)
Focus on establishing a rhythm. Get 10-15 kills to build a solid point foundation.
Score Milestones
Challenge yourself to reach these score tiers:| Tier | Score Range | Description |
|---|---|---|
| 🥉 Bronze | 0-99 | Beginner - Learning the ropes |
| 🥈 Silver | 100-299 | Intermediate - Getting the hang of it |
| 🥇 Gold | 300-599 | Advanced - Solid survival and accuracy |
| 💎 Diamond | 600-999 | Expert - Excellent multitasking |
| 👑 Master | 1000+ | Elite - Top-tier bird warrior |
Score Persistence
Currently, the game displays your score on the GAME_OVER screen, but scores are not permanently saved between sessions.When you return to the MENU from GAME_OVER, all counters reset:
- Score → 0
- Asteroids Destroyed → 0
- Game Time → 0
- Spawn Timer → 0
Score Screen Feature
During gameplay, pressing ENTER shows a detailed score screen overlay without ending the game. This allows you to:- Check your current progress
- See your real-time score
- Resume playing by dismissing the overlay