Develop a simple 2-playerRock, Paper, Scissors game in C.Each player enters 1-3 for Rock, Paper, and Scissors, respectively. The program should print an error message for other input characters. The basic rule at this game says paper covers rock, rock breaks scissors, and scissors cut paper. Accordingly, print which player wins the game, or tie if both players are the same. Note: you only have to fill in 3 places: 1) for reading Player 1 input; 2) for reading Player 2 input; 3) condition for determining the winner.
-
Notifications
You must be signed in to change notification settings - Fork 0
Develop a simple 2-playerRock, Paper, Scissors game in C.Each player enters 1-3 for Rock, Paper, and Scissors, respectively. The program should print an error message for other input characters. The basic rule at this game says paper covers rock, rock breaks scissors, and scissors cut paper. Accordingly, print which player wins the game, or tie …
Hasteerp/Rock-Paper-Scissor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Develop a simple 2-playerRock, Paper, Scissors game in C.Each player enters 1-3 for Rock, Paper, and Scissors, respectively. The program should print an error message for other input characters. The basic rule at this game says paper covers rock, rock breaks scissors, and scissors cut paper. Accordingly, print which player wins the game, or tie …
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published