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

Reset modal state when starting a new game #301

Conversation

thevijayshankersharma
Copy link
Contributor

Description

This pull request addresses the issue where the modal retains the "Congrats You WIN THE GAME !!!!!! " message when starting a new game after winning. The changes ensure that the modal state is properly reset, and the score is reset to 0 when starting a new game, thus preventing the redundant display of the winning message. This fix enhances the user experience by ensuring that the game starts fresh without any residual messages from previous sessions.

Fixes: #274

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have made this from my own
  • I have taken help from some online resourses
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

brave_BoG7uiIGRZ.online-video-cutter.com.mp4

Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@Sulagna-Dutta-Roy Sulagna-Dutta-Roy merged commit 872a0e6 into Sulagna-Dutta-Roy:master May 19, 2024
1 check passed
@thevijayshankersharma thevijayshankersharma deleted the game-flow-fix branch May 20, 2024 00:33
@sanjay-kv sanjay-kv removed the level2 label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Word Scramble Game: Modal Retains Winning Message When Starting New Game
3 participants