ece152 c++ programming assignment #1 - oregon state...
TRANSCRIPT
ECE152 C++ Programming Assignment #1
In this programming assignment you will modify the Rock Paper Scissors code from class to add one of
the suggested features in the code. Some of these we will do in class live so you must do one of the
changes listed below. Make sure any changes you have made are tested. You should try to do ‘silly
things’ and see if the program does something it is not supposed to
What to do:
For improvements, you must choose at least 2 of the following:
Extra Challenge 1: Get User input for one of the guesses
Extra Challenge 2: Add the Players name to the object and it constructor. Add a function to get the
name/change it. Display this name during game play.
Extra Challenge 3: Make this program Rock, Paper, Scissors, Lizard, Spock
Extra Challenge 4: Make this program best 2 out of 3
Extra Challenge 5: Make this program a 3 player game
What to turn in:
Your program should be in a file
called CppAssign1.cpp (NOT
rps.cpp), rps.h and player.h. The
program should compile with only
the command line of ‘g++
CppAssign1.cpp’. Please submit the
3 files individually (do not zip them)
to TEACH.
Needed Concepts:
cout, cin, classes, objects, decision
statements, and string comparing