Skip to content
Permalink
e572cca6b4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
10 lines (6 sloc) 608 Bytes

Your project

Using what we have learnt in the previous weeks, create a simple game that plays rock, paper, sissors.

Each round the game should ask the user for input and also generate a random move for the computer. The user input and computer move can then be compared to see who has wrong. Once a player has won 3 rounds they are declared the winner.

Think carefully about how you are going to structure your code with regards to .h and .cpp files.

Think carefully about what control structures you are going to use in your functions, e.g. for loops and while loops.