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 |
|
שמאלה_מחסום
שמאלה_פנוי
שמאלה_חפץ
שמאלה_לבן
שמאלה_שחור |
קדימה_מחסום
קדימה_פנוי
קדימה_חפץ
קדימה_לבן
קדימה_שחור |
ימינה_מחסום
ימינה_פנוי
ימינה_חפץ
ימינה_לבן
ימינה_שחור |
|