Showing posts with label robots. Show all posts
Showing posts with label robots. Show all posts

Sunday, February 7, 2010

Ghosts!

JAKE is an objects-first tool, built using the object-oriented Java language.
One of the advantages of using robots is that there's a clear model for inheritance. In the current build, the JAKE architecture has a number of classes. The World owns several WorldObjects. There are different kinds of world object: Walls, Beepers and Movers. Walls are solid structures that block off paths in the World. Beepers are just that - little devices that "beep" so that they can be detected by the robots. For now, Movers are the most interesting class.
Just like there are different kinds of WorldObject - one of which is the Mover - there are different kinds of Mover. All Movers can, well, move. Different kinds of Movers behave in different ways, but all have a move() method. The first type of Mover to be created was the Robot. The Robot class represents a basic robot that can move forwards, turn, and do some other (similarly exciting) things. Jake - our main character - is one of these Robots.



Saturday, February 6, 2010

It's alive!

The robot has a name: Jake. Jake stands for "Java Karel with Events". Jake is based on Karel the robot, with an objects-first approach and some new button-based event interfaces.
Today the first prototype is complete: Jake can move, turn and bump into walls. He's programmable in Java using the "jaketherobot" package. There are world, robot, beeper and wall classes.
So far Jake only exists as a collection of classes. The JAKE IDE is planned for development within the next couple of months.