Skip to content

Update 17-rock-paper-scissors.js #79

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

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

Conversation

HarsheedRabhadia
Copy link

This update adds output lines to display the choices made by the player and the computer, matching the originally requested format. Now the program outputs:
Example:

**Player picked: Rock
Computer picked: Scissors

The player won!**

Previously, the code only showed the result without specifying the selections.

Copy link

@iamdulanga iamdulanga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I have checked, These changes fixes the current output code as in the tutorial.

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.

2 participants