Hey, I'm trying to set up a zombie-shooter type game, where when you solve equations you get ammo which will then allow youto shoot the zombies. I'm not to sure how to set this up however, like the solving match equations and how that would give you 1 bullet. Any help would be greatly appreciated!
Offline
Here's my (not so neat but workable) version:
Set ammo to 0
forever:
|Set (i) to (Pick random(1)to(length of [math problems])
|ask(item(i)of[math problems]) and wait
|If <(answer)=(item(i)of[answers])>
||Change ammo by 1
With these lists:
Math problems:
1+1
3*3
√9
Answers:
2
9
3
Last edited by Hardmath123 (2011-10-18 02:53:19)
Offline