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

Added Celebration Pop-up #29

Closed
wants to merge 8 commits into from
Closed

Added Celebration Pop-up #29

wants to merge 8 commits into from

Conversation

sulfur05
Copy link

@sulfur05 sulfur05 commented Mar 15, 2024

Score count and max count now working, for this changes have been made in the gameEngine() function along with initialization of new variables - 'count' and 'maxCount'. If the player beats the high score, a pop-up opens using the openPopUp() function and closes when the 'play again' button is pressed. HTML and CSS has been added for the popup.
@rootCircle please check this pr

@rootCircle
Copy link
Member

cc @ANKITy102

@ANKITy102
Copy link
Contributor

@sulfur05, Please give video of the feature and tag the issue with issueid.
Note that popup I mean that some animation should occur like text fade-in and fade-out with text moving up animation.

@sulfur05
Copy link
Author

improved the pop-up box's animation and also added bouncy text animation
this solves issue #8
below is link to the video-
https://github.com/iiitl/snake-game-js/assets/146582625/fb10be05-a67e-458e-80ab-62805d535484

@ANKITy102
Copy link
Contributor

@sulfur05, Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants