The robots can only be controlled with command line. Press [Ctrl+N], or [ENTER] key when you select a robot, to open a terminal on the selected robot.
+There are 2 types of commands:
+ - **Internal commands** : Internal controls of the operating system (Ex : `cd`, `mkdir`, `let`, `edit`, ...)
+ - **External commands** : commands to interact with the robot and the outside world (Ex : `forward`, `rotleft`, `build`, ...)
+Type `intcmd` to show the internal commands of the robots and `extcmd` to show external commands.
+#### Move forward and rotate the robot
+#### Build a Tipper with a Mothership
+ 2 Thermal Power Station
+#### Cut a tree with a Woodcutter
Each robot has its own file system. So, feel free to create folders and files in the robots with the commands `mkdir`, `touch`, `edit`, ...
A robot owns 4 registers of 1 byte each that can be written with the command `let` (usable in BASIC-script and in terminal) :
The read-only registers can only be used in expressions. It's forbidden to assign value to this registers.
- `O` : Overflow flag. Gets the value 1 if an arithmetic overflow has occurred in the last expression, 0 otherwise.
- `SH` : Shield value of the robot. Not use in this version
- `EN` : Energy value of the robot.
The robots can be programmed with a specific language based on [BASIC]. You can edit a program with the command `edit FILE`, run it with `run FILE` and debug it with `debug FILE`.
- `PRINT` : displays a message on the terminal
- `READ` : asks the user to enter the value of a register
+ REM *** Moves the robot 5 squares forward ***
+ REM Store the value of the register A
+ REM Set the value of A to 4
+ REM Repeat while the value of A is positive
+ REM Decrement the value of A
+ REM Call the external command "forward"
+ REM Get the stored value of A
+#### Use the standard library
+ REM Move the robot to the entered coordinates
+ REM Include the file lib/move
+ PRINT Current position :
+ REM Ask the user to enter coordinates
+ REM Call subroutine defined in lib/move