Posted by Dave Longley on April 22, 2001 at 22:57:32:
In Reply to: Tiny little problem preventin me from finishing this program posted by Marcus Obusan on April 22, 2001 at 21:51:31:
Does your grendel eat anything...and then you reset your loop and it moves again?
Maybe you have a problem when your grendel's movement pattern reaches its end?
: the first 3 files work for me. I know my problem lies within my Grendel actions so here it is.
: On the 4th testfile (Munching i think)...halfways thru the simulation.....my Grendel takes an extra move. Why....i dont know.....it only does it once in the simulation (did it too on the 3rd file of the first set)......anyways.....this screws up the whole point of the simulation and the outputs dont match after that...the ones relating to my grendel......in the end it comes to this...my Grendel ends up having 3 less energy and Xcoordinate 1 more.
: So here are a couple question:
: (1) What can possibly be causing this?
: (2) How many points can they deduct from me for this?
: (professors please reply to this if you can!!)
: Everything involving the bush,browser ,and grazer works perfectly...im this far away from done!!
: any thoughts is appreciated!!!
Post a Followup