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 |
vpřed(n) |
Move n steps forward |
vzad(n) |
Move n steps backward |
vlevo |
Turn left over 90 degrees |
vpravo |
Turn right over 90 degrees |
sever(n) |
Turn to head north and move n steps forward |
jih(n) |
Turn to head south and move n steps forward |
východ(n) |
Turn to head east and move n steps forward |
západ(n) |
Turn to head west and move n steps forward |
|
Paint |
kreslitBílou |
Put the brush with white paint to the ground. |
kreslitČernou |
Put the brush with black paint to the ground. |
přestatKreslit |
Stop painting, hide the brush |
|
Grab |
zvedni |
Get the beacon in front of the robot |
polož |
Put a beacon in front of the robot |
|
Flip coin |
hoditMincí |
Flip a coin to make a random choice. hoditMincí will either be true or false. |
|
See |
Left |
Front |
Right |
|
vlevoJePřekážka
vlevoJeVolno
vlevoJeMaják
vlevoJeBílá
vlevoJeČerná |
předJePřekážka
předJeVolno
předJeMaják
předJeBílá
předJeČerná |
vpravoJePřekážka
vpravoJeVolno
vpravoJeMaják
vpravoJeBílá
vpravoJeČerná |
|