You can use an existing level or modify the level to create your own custom level. When you save it, you will be given a game ID. Share the ID with your friends so they register and compete.
Select your level on the next screen.
Go to Levels
Clicking the button will clear the results for the tournament so you can play again. This action cannot be undone.
NUMGAMES
Click the Save button to save the game. Then click Next to make another game.
Moves: 0 Bits: 0 Points: 0
The purpose of the game is to program the bot to collect the green
bits while avoiding the red bugs.
Choose a scenario (One Above, Box,...) on the main menu. The playing field will be displayed. Select the
Code button to bring up the coding
window. Then choose
Commands to show the available commands.
Descriptions of the commands are below.
Tapping on a command will add it to the code window. Once a command is added to the code window, it can be indented by tapping on its left or right side. Tapping in the middle of the command will select or de-select it. Commands can be deleted by clicking the
Delete button in the menu.
Commands that are to be executed when an
if,
else,
while, or
repeat statement is used should be indented.
See below for an example which makes the bot turn left if there is a
bug in front of it; otherwise the bot will move.
Once the code is complete, press the
Load button to load the scenario. Then press the
Start
button to execute the commands. If the bot collects all bits or hits a
bug, the execution will end.
New commands are added after the
command with the yellow border. If you want to add a command
before all of the commands, de-select all commands.
Your score
is based on the number of bits you collect. The first bit is
worth 1 point, the second 2 points, the third 4 points, and so on.
Example
Commands
Command |
Description |
moveForward |
Moves the bot forward one position. |
rotate... |
Turns the bot left or right relative to itself. |
if... |
Checks if a statement is true. If so, indented commands below it are
executed. |
else |
Used to execute statement(s) when the if condition is false. Must be used with an
if statement. |
while... |
Keeps executing statement(s) while the condition is true. |
repeat... |
Executes the statement(s) the specified number of times
or until the condition is true. |
Custom Scenario
Select the
Custom button on the menu screen to design your own world. Click on the symbols at the bottom. Then click on
a spot to add or delete the item.