Hey guys,
I'm making a math game when the player touches the ghost, the ghost says a random question from a 10 question list. When the player answers it right, it can keep walking in the maze, and if it is wrong, everything stops.
Please help!
Thanks!
Offline
Hmm... You'll want to do something like this:
[If <(Question) of list = 1>
[if <(answer) = The answer
Keep going code
[Else
Stop all
]
Repeat this for each question!
If you would like, I an upload this in block format
Last edited by ssss (2011-10-15 03:19:36)
Offline
here's mine
set (random) to (pick random 1 to 10)
ask (item (random) of [questions]) and wait
if (answer) = (item (random) of [answers]
keep going
else
stop all
Offline