Question
In Korea, there is a very famous game called Muk-jji-ppa, whichis a variant of rock-paper-scissors game. Please read the following Wikipedia page and watch the
In Korea, there is a very famous game called Muk-jji-ppa, whichis a variant of rock-paper-scissors game.
Please read the following Wikipedia page and watch the Youtubevideo to understand the rule. You may have fun withMuk-jji-ppa!!
http://en.wikipedia.org/wiki/Muk-jji-ppa
https://www.youtube.com/watch?v=urZJtUYxgnc
You don’t need to implement a penalty like showing in the youtubeclip ? The simple example will be like following (but norestriction).
sample output
Welcome to the game of Muk-jji-ppa. You can press a ‘r’ buttonfor Rock, ‘p’ for Paper, and ‘s’ for Scissors. Press any key whenready
Rock! Paper! Scissors! r
Rock (You) vs Paper (Computer)
I am going to attack!! One! Two! Three!! r
Rock (You) vs Scissors (Computer)
You are going to attack!! One! Two! Three!! s
Scissors (You) vs Rock (Computer)
I am going to attack!! One! Two! Three!! p
Paper (You) vs Paper (Computer): You lose!!
Press any key if you want to play again or press 'q' to quitq
Good bye, it was fun. Play again soon.
c++ code
Step by Step Solution
3.48 Rating (155 Votes )
There are 3 Steps involved in it
Step: 1
answer include include using namespace std int main char input char computer int i 0 cout Welcome ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started