In Korea, there is a very famous game called Muk-jji-ppa, whichis a variant of rock-paper-scissors game. Please
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 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
Statistics For Management And Economics Abbreviated
ISBN: 9781285869643
10th Edition
Authors: Gerald Keller