Skip to content

Commit

Permalink
docs(drivelang): document WIP shoot command
Browse files Browse the repository at this point in the history
  • Loading branch information
Craftzman7 authored Sep 25, 2023
1 parent 5184cba commit fa49577
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/drivelang/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,23 @@ drop 1;
drop 2;
```

### Shoot (WIP)

Currently a work-in-progress but this will tell the the robot to shoot a cube (if held) on the open side of the grid or in place if specified.

Shoot in place:

```js
shoot true;
```

Shoot on open side:

```js
shoot;
```


## Keywords and values

Keywords are used in conjunction with statements to configure where, when, and how the robot should do an action. They appear after the first word of a statement, in varying numbers and order. Keywords are separated by spaces.
Expand Down

0 comments on commit fa49577

Please sign in to comment.