integer Move(integer Location)
Location : The position where to move in "position code" notation.
0 = { 0, 0, 1 } = Front of the robot.
1 = { 1, 0, 0 } = Right of the robot.
2 = { 0, 0, -1} = Back of the robot.
3 = {-1, 0, 0 } = Left of the robot.
4 = { 0, 1, 0 } = Above the robot.
5 = { 0,-1, 0 } = Under the robot.
A boolean wich is true if the robot moved successfully or false otherwise.
// Listing #1: Random Mover Robot
function Voxel_Step()
{
Move( GetRnd(3) );
}
Look()