Akki-jaiswal / Akki-jaiswal/pong-game

[Feature] Add Confetti Animation on Game Win (Based on Theme)

Ouverte
#89 6 commentaires 0 réactions 1 personne assignée Réclamée par @hariniguptaemmadi Voir sur GitHub
difficulty enhancement gssoc25 UI/UX
Langage dominant
JavaScript
Étoiles
22
Forks
116
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

🔍 Have You Searched Existing Issues?

Yes, I have checked and this feature is not a duplicate of #82, which refers to general win/loss animations. This issue proposes a specific and visually impactful confetti animation based on active theme.

💡 Problem Description

Currently, the win state in the game ends abruptly and lacks visual feedback or celebration, which makes it feel less rewarding — especially after an intense match.

✅ Proposed Solution

Introduce a **confetti animation or fireworks burst** when a player wins the game. The animation should be themed, based on the selected game mode or UI style. For example:
- Neon theme → glowing confetti or sparks
- Retro theme → pixel-style confetti
- Futuristic theme → laser shard or electric particle burst

This will significantly improve the visual appeal and emotional reward for players.

🔄 Alternatives Considered

A generic animation was considered, but theme-based animation adds better cohesion and polish.

🖼️ Screenshots or Diagrams (Optional)

Could be added after a basic prototype.

📘 Additional Context

This feature pairs well with the visual improvements being made to the start/pause/game over screens. Happy to work on this as a GSSoC'25 contributor! 🎉

🙌 Contributor Checklist

- [x] I have checked for similar feature requests
- [x] I agree to follow this project's Code of Conduct
- [x] I am a GSSoC'25 contributor
- [x] I want to work on this issue

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.