Computer Science Canada Need help with a game "Poison Penny" |
Author: | Murphman [ Thu Nov 26, 2009 2:20 pm ] | ||
Post subject: | Need help with a game "Poison Penny" | ||
What is it you are trying to achieve? I am trying to make a game called poison penny. I want it so that 12 pennies are displayed on the screen and one nickel which is the poision penny. The user's will be able to click one or 2 pennies and when they are clicked they disapear. After all the pennies are gone the player who clicks the poison penny lose's What is the problem you are having? I am trying to use procedure's to make the pennies i drew them in paint. I can only get them to appear once when it is called on and i am wondering if it is possible to do this. Or how i should start this program i am lost and could use the help on making this game. Describe what you have tried to solve this problem I have tried loops, for loops, if statements, labels. Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Please specify what version of Turing you are using 4.1 |
Author: | Tony [ Thu Nov 26, 2009 2:31 pm ] |
Post subject: | Re: Need help with a game "Poison Penny" |
Murphman @ Thu Nov 26, 2009 2:20 pm wrote: I can only get them to appear once when it is called on and i am wondering if it is possible to do this.
What are you referring to by "this"? |
Author: | Murphman [ Fri Nov 27, 2009 9:57 am ] |
Post subject: | Re: Need help with a game "Poison Penny" |
i am trying to say, is it possblie to make 12 pennies appear in a line. All in one procedure. |
Author: | Tony [ Fri Nov 27, 2009 1:03 pm ] |
Post subject: | RE:Need help with a game "Poison Penny" |
Yes. You might want to use a for-loop... as you already appear to be doing. |