Move through each of the sections that make up the missions by sending your David a script.

Combine commands in the form of blocks into a script.

Once you've sent the script to David he will carry out the commands one-by-one. If he reaches the orange endpoint he can advance to the next section.

next

A example of a 5x5 section.

Building the script

1

Select a block from the action bar.

These blocks represent functions made of code that a David can understand.

MORE

A ‘FD’ Block takes the place of the forward function.

function forward() {
var dis;
david.wheel.right(dis);
david.wheel.left(dis);
}

next

2

Attach values to blocks.

Change what they do by dragging them into the edit zone.

MORE

The values are like variables passed into the function.

function forward(2) {
var dis = 2;
david.wheel.right(dis);
david.wheel.left(dis);
}

3

Create a script by snapping blocks into the available slots.

There is a limit to how many blocks David can receive. This can be expanded with upgrades.

MORE

The script is the all the code sent to David.

function script() {
function forward(2) {
var dis = 2 * grid.width;
david.wheel.right(dis);
david.wheel.left(dis);
}
function right(1) {
var deg = 1 * 90;
david.wheel.right(-deg);
david.wheel.left(deg);
}
}

Blocks

Forward

Moves David forward in whatever direction he's pointing.

Backward

Moves David in reverse from whatever direction he's pointing.

Left

David turns on the spot to the left.

Right

David turns on the spot to the right.

Functions

Acquire function blocks from other David's. They can be used to extend David 6's script.

Loops

Repeat a set of blocks many times over.

Conditionals

Check if something is true and then run a set of blocks if it is.

David Control Blocks

Send commands to past past Davids and make use of their different abilities.

So many more...

There are more blocks to discover within sections and new ones being added all the time so keep playing!

next

Meet the Davids

David 1

Controllable No

Abilities None

David 1 was the first version of the David rovers sent out. David 1s are light-weight model and are prone to getting stuck in the moss on the planet's surface.

Most of the 1s you'll see will be abandoned on the sides of paths where they we're trapped.

David 2

Controllable Yes

Abilities Plow

David 2s are the big guns. Like a small tank not even the worst moss can slow them down and the plow on the front allows them to clear paths for other Davids.

Watch out for the soft sand however, David 2s are so heavy they sink right in and get trapped.

X