ARROWS Command

Game Command

Description : ARROW 30 10 defines the arrow keys as follows:

left: turn the robot 10 degrees to the left
right: turn the robot 10 degrees to the right
up: increase the robot speed by 30 pixels per second
down: decrease the robot speed by 30 pixels per second

The arrow keys can be defined in other ways using the KEY command

Parameters : Amount to change speed and the amount to turn the robot.