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 |
เดินหน้า(n) |
Move n steps forward |
ถอยหลัง(n) |
Move n steps backward |
ซ้าย |
Turn left over 90 degrees |
ขวา |
Turn right over 90 degrees |
เหนือ(n) |
Turn to head north and move n steps forward |
ใต้(n) |
Turn to head south and move n steps forward |
ตะวันออก(n) |
Turn to head east and move n steps forward |
ตะวันตก(n) |
Turn to head west and move n steps forward |
|
| Paint |
ระบายสีขาว |
Put the brush with white paint to the ground. |
ระบายสีดำ |
Put the brush with black paint to the ground. |
หยุดระบายสี |
Stop painting, hide the brush |
|
| Grab |
เก็บขึ้น |
Get the beacon in front of the robot |
วางลง |
Put a beacon in front of the robot |
|
| Flip coin |
พลิกเหรียญ |
Flip a coin to make a random choice. พลิกเหรียญ will either be true or false. |
|
| See |
Left |
Front |
Right |
|
ซ้ายเป็นสิ่งกีดขวาง
ซ้ายปลอดโปร่ง
ซ้ายเป็นกระโจมไฟ
ซ้ายเป็นสีขาว
ซ้ายเป็นสีดำ |
ข้างหน้าเป็นสิ่งกีดขวาง
ข้างหน้าปลอดโปร่ง
ข้างหน้าเป็นกระโจมไฟ
ข้างหน้าเป็นสีขาว
ข้างหน้าเป็นสีดำ |
ขวาเป็นสิ่งกีดขวาง
ขวาปลอดโปร่ง
ขวาเป็นกระโจมไฟ
ขวาเป็นสีขาว
ขวาเป็นสีดำ |
|