Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New game]: Matching Pairs #4844

Closed
1 task done
priyashuu opened this issue Jul 13, 2024 · 4 comments
Closed
1 task done

[New game]: Matching Pairs #4844

priyashuu opened this issue Jul 13, 2024 · 4 comments
Assignees
Labels
gssoc GSSoC24 program label level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue

Comments

@priyashuu
Copy link
Contributor

🎮 Game Request

Game logic and basic description

  1. Initialization
    Card Generation: Duplicate a set of symbols to create pairs, then shuffle.
    Grid Setup: Dynamically create card elements and append them to the game container.
  2. Card Flipping
    Event Listener: Each card has an event listener to trigger the flip.
    Flipping Logic: On click, reveal the card symbol. Store the first card, then check for a match with the second card.
  3. Matching Logic
    Match Check: Compare the symbols of two flipped cards. If they match, keep them face-up; if not, flip them back down after a brief delay.

Point down the features

Game points

Timer and Scoring System: Track your performance with a real-time timer and move counter, challenging yourself to complete the game in the shortest time with the fewest moves.
Difficulty Levels: Choose from different grid sizes and levels of difficulty, from a 4x4 grid for beginners to larger grids for a more challenging experience.
Animations and Visual Feedback: Enjoy smooth animations and visual effects, including a 3D card flip animation when cards are matched, providing satisfying feedback and enhancing gameplay immersion.
Sound Effects: Delight in subtle sound effects for card flips and matches, and an optional background music track to create a more engaging atmosphere.
Game Over and Restart: Upon completing the game, receive a congratulatory message with your final score and time. Easily restart the game or choose a different difficulty level to keep the fun going.

Screenshot of the Game
matchin-pair-game

Select program in which you are contributing

GSSoC24

Code of Conduct

@kunjgit kunjgit added level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue labels Jul 13, 2024
@kunjgit
Copy link
Owner

kunjgit commented Jul 13, 2024

Hey @priyashuu , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :

#4754

@kunjgit kunjgit closed this as completed Jul 13, 2024
@kunjgit
Copy link
Owner

kunjgit commented Jul 13, 2024

Hey @priyashuu ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

@kunjgit
Copy link
Owner

kunjgit commented Jul 13, 2024

Hey @priyashuu !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹️

@kunjgit kunjgit added the gssoc GSSoC24 program label label Jul 13, 2024
@priyashuu
Copy link
Contributor Author

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc GSSoC24 program label level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue
Projects
None yet
Development

No branches or pull requests

2 participants