Question: In this project, you will be implementing a rock - paper - scissors game! Rock - paper - scissors is a hand game played between
In this project, you will be implementing a rockpaperscissors game! Rockpaperscissors is a hand game played between two people, in which each player simultaneously forms one of three shapes with an outstretched hand. These shapes are rocka simple fistpapera flat hand and scissorsa fist with the index and middle fingers extended, forming a V
A player who plays rock will beat another player who has chosen scissors, but will lose to one who has played paper; a play of paper will lose to a play of scissors. If both players choose the same shape, the game is tied. y completing this project, you will learn to:
Develop programs that are divided into functions
Compile programs that are not yet complete by using stubs
Verify the correctness of functions by writing test cases
Implement functions based on a specification and RME comment
Use existing operators to perform interactive IO using C
Write logical expressions and selection statements in C
Create algorithms that use conditionals and loops
An important objective is to have fun!
You will apply the following skills you learned in lecture:
Lecture
Call math functions like floor and ceil
Lecture
Call functions with multiple parameters
Use return statements to provide a result from a function
Lecture
Create function declarations to allow calls to a function before its code is provided in a function definition
Interpret RME comments
Use the iterative development cycle for writing your functions
Lecture
Use if else, and else if to conditionally execute code
Execute the cin algorithm to determine how a given user input will be stored into variables
Lecture
Write eventcontrolled loops using while
Combine loops with cin to continue reading until the user is finished
Lecture
Write countcontrolled loops using for
Getting Started
Starter Files
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
