Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement:
Currently, the Hangman game does not provide an option to refresh or restart the game mid-play. The only way to start a new game is by either refreshing the browser or exhausting all 6 incorrect guesses. This limits user flexibility and creates a poor user experience. Adding a Refresh button will allow players to start a new game with a new word at any time without disrupting the session.
Describe the solution you'd like
Solution steps:
• Add a Refresh Button to the UI
• Place the button near the home icon or below the game area for easy access.
• Label it clearly as “New Word” or “Refresh Game”.
• Implement Game Reset Logic
• On button click:
• Reset incorrect guesses to 0 / 6.
• Clear previously guessed letters.
• Fetch a new random word and its hint.
• Reset the hangman drawing to its initial state.
• Provide Visual Feedback
Show a short message like “Game refreshed with a new word!” after the button is clicked.
Select program in which you are contributing
Other
Code of Conduct
Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement:
Currently, the Hangman game does not provide an option to refresh or restart the game mid-play. The only way to start a new game is by either refreshing the browser or exhausting all 6 incorrect guesses. This limits user flexibility and creates a poor user experience. Adding a Refresh button will allow players to start a new game with a new word at any time without disrupting the session.
Describe the solution you'd like
Solution steps:
• Add a Refresh Button to the UI
• Place the button near the home icon or below the game area for easy access.
• Label it clearly as “New Word” or “Refresh Game”.
• Implement Game Reset Logic
• On button click:
• Reset incorrect guesses to 0 / 6.
• Clear previously guessed letters.
• Fetch a new random word and its hint.
• Reset the hangman drawing to its initial state.
• Provide Visual Feedback
Show a short message like “Game refreshed with a new word!” after the button is clicked.
Select program in which you are contributing
Other
Code of Conduct