Basic instructions
In each domain there are a fixed number of basic instructions you may use
to write a program. You're only allowed to use this instructions directly when
writing the script. For our robot the following basic instructions exist:

Move |
dopredu(n) |
Move n steps forward |
dozadu(n) |
Move n steps backward |
vlavo() |
Turn left over 90 degrees |
vpravo() |
Turn right over 90 degrees |
sever(n) |
Turn to head north and move n steps forward |
juh(n) |
Turn to head south and move n steps forward |
vychod(n) |
Turn to head east and move n steps forward |
zapad(n) |
Turn to head west and move n steps forward |
|
Paint |
kreslitCiernou() |
Put the brush with white paint to the ground. |
kreslitBielou() |
Put the brush with black paint to the ground. |
prestatKreslit() |
Stop painting, hide the brush |
|
Grab |
zdvihnut() |
Get the beacon in front of the robot |
polozit() |
Put a beacon in front of the robot |
|
Flip coin |
hodMincou() |
Flip a coin to make a random choice. hodMincou() will either be true or false. |
|
See |
Left |
Front |
Right |
|
prekazkaVlavo()
nicVlavo()
majakVlavo()
bielaVlavo()
ciernaVlavo() |
prekazkaVpredu()
nicVpredu()
majakVpredu()
bielaVpredu()
ciernaVpredu() |
prekazkaVpravo()
nicVpravo()
majakVpravo()
bielaVpravo()
ciernaVpravo() |
|