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 |
kedepan(n) |
Move n steps forward |
kebelakang(n) |
Move n steps backward |
kiri |
Turn left over 90 degrees |
kanan |
Turn right over 90 degrees |
utara(n) |
Turn to head north and move n steps forward |
selatan(n) |
Turn to head south and move n steps forward |
timur(n) |
Turn to head east and move n steps forward |
barat(n) |
Turn to head west and move n steps forward |
|
Paint |
catPutih |
Put the brush with white paint to the ground. |
catHitam |
Put the brush with black paint to the ground. |
berhentiMengecat |
Stop painting, hide the brush |
|
Grab |
mengambil |
Get the beacon in front of the robot |
meletakkan |
Put a beacon in front of the robot |
|
Flip coin |
flipCoin |
Flip a coin to make a random choice. flipCoin will either be true or false. |
|
See |
Left |
Front |
Right |
|
hambatanDikiri
kiriBersih
kiriTanda
kiriPutih
kiriHitam |
hambatanDidepan
depanBersih
depanTanda
depanPutih
depanHitam |
hambatanDikanan
kananBersih
kananTanda
kananPutih
kananHitam |
|