posted by
quinn222 at 07:48pm on 15/01/2005
Looks as though we're back. I'll post the next Adventure in the morning.
In the meanwhile. I have an assignment to write a computer program that simulates the game Paper, Scissors, Rock. The only problem is I have no idea how that game works and they don't tell you. Can someone fill me in? Thanks :-)
In the meanwhile. I have an assignment to write a computer program that simulates the game Paper, Scissors, Rock. The only problem is I have no idea how that game works and they don't tell you. Can someone fill me in? Thanks :-)
(no subject)
Paper, scissors, rock is pretty easy. You need a partner, and then you count to three and at 'three' you hold your hand out in front of you in the 'shape' of either paper (flat hand), scissors (a bit like a victory sign, obviously) or rock (fist). Then there is a kind of hierarchy that determines who wins -
Paper wins over Rock
Scissors wins over Paper
Rock wins over Scissors
That's basically it - you just need to randomly pick two and compare them.
(no subject)
Paper "wraps" a Rock (thus paper wins)
Scissors "cut" Paper (thus scissors win)
and
Rocks "smash" Scissors (thus rock wins)
Hope this helps.
Good luck!!
(no subject)
(no subject)
(no subject)