bot.ps
Class CommandoBot

java.lang.Object
  extended bybot.Bot
      extended bybot.ps.CommandoBot
Direct Known Subclasses:
SmartCommandoBot

public class CommandoBot
extends Bot

Solution for CommandoBot and The Melting Maze


Field Summary
 int LEFT
           
 int RIGHT
           
 int STEP
           
 
Fields inherited from class bot.Bot
board
 
Constructor Summary
CommandoBot()
           
 
Method Summary
 void compute()
          This is what the system runs so the bot can run around the maze.
 
Methods inherited from class bot.Bot
drop, feel, feelKey, feelPit, feelWall, getBoard, getBotBoard, getHeading, getInformer, getInput, getInputCharacter, getIntFromHuman, getLocation, getStringFromHuman, grab, left, place, rest, right, say, say, say, say, say, setAppearance, step
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT

public final int RIGHT
See Also:
Constant Field Values

LEFT

public final int LEFT
See Also:
Constant Field Values

STEP

public final int STEP
See Also:
Constant Field Values
Constructor Detail

CommandoBot

public CommandoBot()
Method Detail

compute

public void compute()
Description copied from class: Bot
This is what the system runs so the bot can run around the maze.

All bots need to implement this method so they can do stuff.

Specified by:
compute in class Bot