🐷 Enemy AI Improvements
📌 Overview
Improve enemy behavior (George, Peppa, Daddy Pig) to make gameplay more dynamic and less predictable.
🚀 Tasks
Add basic pathfinding (follow player smoothly)
Introduce attack patterns (cooldowns, ranged vs melee)
Scale difficulty per level
Add idle/wander behavior
🎯 Goal
Make enemies feel smarter and more engaging instead of random or static.
🎯 Boss Fight Mechanics (Daddy Pig)
📌 Overview
Enhance Level 3 boss fight to feel like a real “final boss.”
🚀 Tasks
Add multiple attack phases (health-based)
Introduce special attacks (area damage, projectiles)
Add visual indicators before attacks
Include boss health bar
🎯 Goal
Create a memorable and fair boss fight.
💰 Score System Refinement
📌 Overview
Improve how scores are calculated and displayed.
🚀 Tasks
Add score bonuses (coins, time survived, enemies defeated)
Show score breakdown at game over
Prevent negative or broken scores
Sync with leaderboard system
🎯 Goal
Make scoring more meaningful and competitive.
🧍 Player Movement & Controls Fix
📌 Overview
Improve player movement responsiveness.
🚀 Tasks
Smooth acceleration/deceleration
Fix diagonal movement speed issues
Add key input buffering
Improve collision handling with walls
🎯 Goal
Make controls feel smooth and consistent.
🪙 Coin Animation & Effects
📌 Overview
Enhance coin visuals to make them more noticeable.
🚀 Tasks
Add bobbing animation
Add glow or sparkle effect
Add sound effect on collect
Add small particle burst on pickup
🎯 Goal
Make collecting coins satisfying and visible.
📊 HUD (Heads-Up Display) Upgrade
📌 Overview
Improve UI elements shown during gameplay.
🚀 Tasks
Display health, score, coins, and level clearly
Add power-up timers
Improve layout positioning
Make UI responsive for different screen sizes
🎯 Goal
Provide clear, real-time player information.
🔊 Sound Effects & Music
📌 Overview
Add audio to improve immersion.
🚀 Tasks
Add background music per level
Add SFX (coin collect, damage, power-up)
Add mute/unmute toggle
Adjust volume levels
🎯 Goal
Make the game feel more polished and engaging.
🎮 Game Over & Restart System
📌 Overview
Improve end-of-game flow.
🚀 Tasks
Show game over screen with stats
Add restart button
Prompt for player name (leaderboard)
Reset game state properly
🎯 Goal
Create a smooth loop for replayability.
🧱 Collision System Fix
📌 Overview
Fix bugs related to player/environment collisions.
🚀 Tasks
Prevent clipping through walls
Improve hitbox accuracy
Handle enemy collisions properly
Optimize collision checks
🎯 Goal
Ensure consistent and bug-free gameplay physics.
🌐 Leaderboard Backend (Advanced)
📌 Overview
Move leaderboard from localStorage → API.
🚀 Tasks
Connect to backend endpoint (/leaderboard)
Send POST requests for scores
Fetch and display global rankings
Handle errors (CORS, failed requests)
🎯 Goal
Enable shared leaderboard across players.
🧪 Testing & Debugging
📌 Overview
Ensure stability before submission.
🚀 Tasks
Test all levels and transitions
Check edge cases (no coins, max score, etc.)
Fix console errors
Optimize performance (FPS, lag)
🎯 Goal
Deliver a stable, bug-free game.

🐷 Enemy AI Improvements
📌 Overview
Improve enemy behavior (George, Peppa, Daddy Pig) to make gameplay more dynamic and less predictable.
🚀 Tasks
Add basic pathfinding (follow player smoothly)
Introduce attack patterns (cooldowns, ranged vs melee)
Scale difficulty per level
Add idle/wander behavior
🎯 Goal
Make enemies feel smarter and more engaging instead of random or static.
🎯 Boss Fight Mechanics (Daddy Pig)
📌 Overview
Enhance Level 3 boss fight to feel like a real “final boss.”
🚀 Tasks
Add multiple attack phases (health-based)
Introduce special attacks (area damage, projectiles)
Add visual indicators before attacks
Include boss health bar
🎯 Goal
Create a memorable and fair boss fight.
💰 Score System Refinement
📌 Overview
Improve how scores are calculated and displayed.
🚀 Tasks
Add score bonuses (coins, time survived, enemies defeated)
Show score breakdown at game over
Prevent negative or broken scores
Sync with leaderboard system
🎯 Goal
Make scoring more meaningful and competitive.
🧍 Player Movement & Controls Fix
📌 Overview
Improve player movement responsiveness.
🚀 Tasks
Smooth acceleration/deceleration
Fix diagonal movement speed issues
Add key input buffering
Improve collision handling with walls
🎯 Goal
Make controls feel smooth and consistent.
🪙 Coin Animation & Effects
📌 Overview
Enhance coin visuals to make them more noticeable.
🚀 Tasks
Add bobbing animation
Add glow or sparkle effect
Add sound effect on collect
Add small particle burst on pickup
🎯 Goal
Make collecting coins satisfying and visible.
📊 HUD (Heads-Up Display) Upgrade
📌 Overview
Improve UI elements shown during gameplay.
🚀 Tasks
Display health, score, coins, and level clearly
Add power-up timers
Improve layout positioning
Make UI responsive for different screen sizes
🎯 Goal
Provide clear, real-time player information.
🔊 Sound Effects & Music
📌 Overview
Add audio to improve immersion.
🚀 Tasks
Add background music per level
Add SFX (coin collect, damage, power-up)
Add mute/unmute toggle
Adjust volume levels
🎯 Goal
Make the game feel more polished and engaging.
🎮 Game Over & Restart System
📌 Overview
Improve end-of-game flow.
🚀 Tasks
Show game over screen with stats
Add restart button
Prompt for player name (leaderboard)
Reset game state properly
🎯 Goal
Create a smooth loop for replayability.
🧱 Collision System Fix
📌 Overview
Fix bugs related to player/environment collisions.
🚀 Tasks
Prevent clipping through walls
Improve hitbox accuracy
Handle enemy collisions properly
Optimize collision checks
🎯 Goal
Ensure consistent and bug-free gameplay physics.
🌐 Leaderboard Backend (Advanced)
📌 Overview
Move leaderboard from localStorage → API.
🚀 Tasks
Connect to backend endpoint (/leaderboard)
Send POST requests for scores
Fetch and display global rankings
Handle errors (CORS, failed requests)
🎯 Goal
Enable shared leaderboard across players.
🧪 Testing & Debugging
📌 Overview
Ensure stability before submission.
🚀 Tasks
Test all levels and transitions
Check edge cases (no coins, max score, etc.)
Fix console errors
Optimize performance (FPS, lag)
🎯 Goal
Deliver a stable, bug-free game.