Thread: Counting steps
View Single Post
Counting steps
Old
Laur07
Junior Member
 
Status: Offline
Posts: 11
Join Date: Jun 2011
Default Counting steps - 06-14-2011, 07:59 PM

I am having difficulty with the "increment" function. So for my project :Your program must also count the number of steps it took for the wolf to catch the bunny. If it took more than 10 steps, the wolf should say "That was tough, but this bunny was worth it!" or something similar, after it eats the bunny, otherwise the wolf should say "That was too easy, give me a challenge next time!"
I created a new variable in the "world properties" called steps because i need to be able to count how many steps the wolf takes but i don't really know the next steps to make it actually count and in order to make the "IF" statement in the end .... Anyone have an idea how this works? I really appreciate all the help i have been getting!
   
Reply With Quote