Skip to content

Conversation

@nilkh75
Copy link
Contributor

@nilkh75 nilkh75 commented Jun 29, 2024

PR Title

Enhance Play Again Confirmation Handling

Summary

Refined the play again confirmation logic for improved user interaction.

Description

This PR enhances the play again confirmation process in the Rock, Paper, Scissors, Lizard, Spock game. Previously, the user experience could be interrupted by invalid inputs during the play again prompt. The updated logic now ensures a smoother interaction by continuously prompting the user until a valid response ('y' for yes, 'n' for no) is provided.

Changes Made:

  • Implemented a robust loop to handle repeated prompts until valid input ('y' or 'n') is received.
  • Enhanced error handling to prevent unintended input errors and improve user understanding.
  • Optimized user feedback messages to guide towards correct input choices.

This update aims to enhance usability and maintain a positive user experience throughout multiple game sessions.

bbob122 and others added 21 commits June 20, 2024 20:27
The console output was updated to gereralise the user experience and make the output more personal.
Added logic for draw
I add a feature so the player could choose whether they still want to play the game or not. If the player choose to end the game, the coding will show the final score between the player and the computer
I add a feature so the player could decide how many rounds for each game
Adding the Table of Content for Rock Paper Scissors -New
Fixing the link for the new File
Added a string to name the timer currently running
Added second Example usage, the pomodoro timer will run for 25 min work session and 5 min break for infinity
Changed true to True
An Application
@DhanushNehru DhanushNehru merged commit 17568f2 into wasmerio:master Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants