Robot
Send instructions to a robot. Try to reach the end of each level.
Controls
This game uses not just the standard PICO-8 controls of ⬆️⬇️⬅️➡️⭕❌ but also the whole keyboard for text input.
- Hold ⬆️ to show grid
- Press ⭕ (defaults to Z key) to start inputting instructions, and Enter to confirm them
- Press ❌ (defaults to X key) to restart level
Instruction set
^v<>
move in that direction- You can use WASD as shortcuts to type these, when not inputting a variable name
J>
jump (to the right, in this case)$abc=1
set variableabc
to 1 (variables default to 0)- Built-in variables:
key
true if you have a keywall
true if you're touching a wall
?COND:CODE
or!COND:CODE
evaluates all of CODE if COND is truthy (for ?) or falsy (for !)- Must be followed by a semicolon, another condition (they can't be nested), or the end of the code
- Examples:
?abc=2:^;
if variableabc
is equal to 2, move up?abc:^;
if variableabc
is truthy (non-zero), move up!abc:^;
if variableabc
is falsy (zero), move up
- Supports
=
,!=
,<
,<=
,>
,>=
#0
...L0
(replace 0 with any digit) loop- The
#0
defines an anchor named 0 - The
L0
jumps execution back to the anchor 0 - Hint: you can put L0 inside a conditional to conditionally repeat the loop
- The
- If you encounter any errors (particularly when using conditionals), try adding a semicolon at the end, to separate it from the next statement. Sorry about that.
Credits
- Design, code, art: me
- Engine: PICO-8
Comments
Log in with itch.io to leave a comment.
The game is intriguing, though a bit too complex for me. The controls feel a bit confusing and don't seem designed for the average gamer. Nevertheless, it's a solid submission—thank you for creating it!
Thanks for trying it! It's a different kind of game than most (controlling a character only indirectly), so it sort of has to have unusual controls. Hopefully the updated description clears up some confusion about controls and the instructions the robot understands, but it's definitely not a game for everyone.