Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c714c48

Browse filesBrowse files
committed
rock_paper_scissors output has been added!
1 parent edfba66 commit c714c48
Copy full SHA for c714c48

File tree

1 file changed

+10
-0
lines changed
Filter options

1 file changed

+10
-0
lines changed

‎projects/rock-paper-scissors/README.md

Copy file name to clipboardExpand all lines: projects/rock-paper-scissors/README.md
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,13 @@ After each round, the scores will be updated and displayed.
3939
At the end of all rounds, the final scores will be displayed, and the winner will be announced.
4040

4141

42+
```bash
43+
Welcome to Rock, Paper, Scissors!
44+
How many rounds would you like to play? 3
45+
Enter rock, paper, or scissors: rock
46+
Computer chose: paper
47+
Computer wins this round!
48+
Scores => You: 0 | Computer: 1
49+
...
50+
Congratulations! You won the game with a score of 2 to 1.
51+
```

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.