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 |
framåt(n) |
Move n steps forward |
backåt(n) |
Move n steps backward |
vänster |
Turn left over 90 degrees |
höger |
Turn right over 90 degrees |
norr(n) |
Turn to head north and move n steps forward |
söder(n) |
Turn to head south and move n steps forward |
öst(n) |
Turn to head east and move n steps forward |
väst(n) |
Turn to head west and move n steps forward |
|
| Paint |
målaVit |
Put the brush with white paint to the ground. |
målaSvart |
Put the brush with black paint to the ground. |
slutaMåla |
Stop painting, hide the brush |
|
| Grab |
plockaUp |
Get the beacon in front of the robot |
sättNer |
Put a beacon in front of the robot |
|
| Flip coin |
kastaSlant |
Flip a coin to make a random choice. kastaSlant will either be true or false. |
|
| See |
Left |
Front |
Right |
|
vänsterÄrHinder
vänsterÄrOhindrat
vänsterÄrObjekt
vänsterÄrVit
vänsterÄrSvart |
framåtÄrHinder
framåtÄrOhindrat
framåtÄrObjekt
framåtÄrVit
framåtÄrSvart |
högerÄrHinder
högerÄrOhindrat
högerÄrObjekt
högerÄrVit
högerÄrSvart |
|