4) 650 - Rock, Paper, Scissors (v1)
Problem type
Problem type
What do you know?
Fact
Use case(s)
Primary
Revised
1) Splash/Welcome
a) Display name of the
program and a nice hello
2) Input
a) prompt player for choice
b) get player's choice
3) Process
a) obtain computer's choice
b) compare player and computer
choices => results
4) Output
a) display computer choice
b) display results
5) END PROGRAM
a) display a "pause"
message before exiting
What don't you know?
randomize computer choice
enumerating the available:
choices
results
What assumptions
are you making?
a) user knows how to play RPS
b) single play-no loop
c) using a traditional die
d) player/user enters a valid choice
Solution criteria
Console-based
program
conditional logic is limited
to if/else if/else
no user-defined functions
Root cause analysis
Impact analysis
Person
Impact
Six serving men
Analogies
What is it like?
Be the problem
Insight