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

changed rock_paper_scissors #6825

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Poly-Etilen
Copy link

Fixes issue:

Changes:

When the rock-paper-scissors algorithm was executed, an output of "Player 2 wins" occurred when input was received and tied to a lowercase string. It found that the code did not work well when receiving a string input in lowercase in the existing algorithm. Therefore, a code to convert the string to capital letters was added when the string was input in lowercase. In addition, the code was modified to receive the output of "Invalid choice, please choose ROCK, PAPER, or SCISSORS" when another string was input.

@Poly-Etilen
Copy link
Author

Please check "Rock-paper-scissors algorithm results in lower case input string error #6824"

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.

1 participant