• Post Reply Bookmark Topic Watch Topic
  • New Topic

GridWorld Help (Bug go in Z)  RSS feed

Jim Tseng
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need help with making a bug go in a "Z" shape and then stopping. The bug should stop completely if any obstacle is put in its way however. This is something for school and I really don't get it very well.

The person sitting by me in class said that I was making this really complicated and I was wondering if someone can help correct this.
We use JCreator 3.5 and the workspace is called GridWorld( I can email the files to you if necessary.

here's my lab
ZBug Lab Instruction

here's my current code
import info.gridworld.actor.Bug;

Thanks for the help!
[ November 15, 2007: Message edited by: Jim Tseng ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!