Rock Pa per Scusso rs Liza rd S pock
Your programming assignment is to create the game Rock, Paper, Scissors, Lizard Spock, based off of the TV show Big Bang
Theory. You will be working off of the Chapter 6 Lab when you made Rock, Paper Scissors. The games is played exactly the
same as Rock Paper Scissors with two additional characters: Lizard and Spock. The rules for winners are as follows:
0 Rock smashes Scissors
0 Rock crushes Lizard
o Scissors cuts Paper
0 Scissors decapitates Lizard
0 Paper covers Rock
0 Paper disproves Spock
o Lizard eats Paper
0 Lizard poisons Spock
0 Spock vaporizes Rock
0 Spock smashes Scissors
Use M as a guide. Your program will need to look and function just like Lab 6.
Requirements
0 The file you create will need to be named: rpsIs-<your UNI ID Number>.cpp
0 Your header block must be formatted like this:
Author: Your Name
Due Date: 10/23/2017
Description: Rock Paper Scissors Lizard Spock
0 You must make a fully working version of this game with the following implementations:
o The computer will randomly choose between the 5 new options (rock, paper, scissors, lizard, spock).
0 You will have a function that records the choice of each player for every game in a text file named gameLog.txt
in the following format:
I User Choice, Computer Choice\n
I Example:
rock, spock
lizard, paper
paper, scissors
o All input entered by the user must be converted to lowercase. (This will help you with your logical
comparisons, since you will be doing this twice now within each game iteration.)
o All input entered by the user must be validated. (Verifying that rock, paper, etc. are spelled correctly.) If the
user enters something invalid, ask to input again.
0 After a game is played, ask if the user would like to play again.