quinn222: (Default)
Add MemoryShare This Entry
posted by [personal profile] 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 :-)
There are 5 comments on this entry. (Reply.)
 
posted by [identity profile] scatterheart.livejournal.com at 04:59pm on 15/01/2005
Woohoo, it's really working again!

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.
 
posted by [identity profile] joesther.livejournal.com at 01:07am on 16/01/2005
Oh, and the logic as to what wins over what (you might want to incorporate this into the program, Quinn) is that:

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!!
 
posted by [identity profile] mmmorpheusq.livejournal.com at 04:57pm on 16/01/2005
We played this when I was a child in the Olden Days just after scissors were invented. Anyway, when bratty kids play, the loser has to suffer appropriate consequences - the winner gets to "wrap" paper around your rock-fist really hard till it hurts. Ditto scissors cutting your paper-arm till you whine with pain. And of course, rock CRUSHES scissors -your fingers are smashed beyond recognition.

 
posted by [identity profile] quinn222.livejournal.com at 05:38pm on 16/01/2005
ouch! I so do not get the point of this thing but I think I have the program written correctly.
 
posted by [identity profile] joesther.livejournal.com at 07:36am on 18/01/2005
OK, I'm officially glad I never played it with bratty children. Ow my hands. :(

January

SunMonTueWedThuFriSat
1
 
2
 
3 4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22
 
23
 
24
 
25
 
26
 
27
 
28
 
29 30
 
31