aspose file tools*
The moose likes Beginning Java and the fly likes GridWorld Help (Bug go in Z) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "GridWorld Help (Bug go in Z)" Watch "GridWorld Help (Bug go in Z)" New topic
Author

GridWorld Help (Bug go in Z)

Jim Tseng
Greenhorn

Joined: Nov 15, 2007
Posts: 1
Hi,
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GridWorld Help (Bug go in Z)