Ludum Dare 37 — December 9th-11th, 2016 — Theme: One Room

Well, Mike ran in to problems getting ldjam.com working properly with about 12 hours left in the Compo, so this is the backup plan.

Back to Browse Entries

bot.asm

by Ghust1995 - Jam Entry

The objective of the game is to program your bot and build a level so he can get to the top!

Instructions:

Press Q/W to move between possible block colors, press left mouse button to add a new block of the selected color, and right mouse button to delete blocks.

Press E to enter the text editor and edit the bot's code.

Language reference:

nop: no operation (sleeps for the tick time)
jump: makes the bot jump (if grounded)
turn: turns the bot around
cmp [what] [value]: compares what to the value passed, setting the robots internal flag if the comparison is true, what can be either:
scan: with possible values (r, g, b, w). Compares the value of the bot's scanner to the value. (if no value passed, compares if the scanner is reading something).
mdir: with possible values (r, l). Compares the moving direction of the bot.
jmp [line]: jumps to the specified line of code
jf [line]: jumps to the specified line of code if the flag is set to true
jnf [line]: jumps to the specified line of code if the flag is set to false
clf: sets the value of the flag to false
Good Luck!

Downloads and Links


Ratings

#1655Coolness14%

Comments

Dec 15, 2016 @ 8:28pm

A very tough idea to tackle in a jam game, and kudos for implementing it in time! However, the lack of different challenges unfortunately didn't do the mechanics justice. I would have liked to play it as a puzzle game where you have to plan out a solution

thomz12 says ...
Dec 18, 2016 @ 2:10pm

I love the idea! too bad there was only one level to complete. Took me some time to figure out i had to press 'space' to execute the program. The editor worked nicely. Like WeaverDeveloper said, i'd love some more challanges! Well done! :)

freyby says ...
Dec 18, 2016 @ 2:17pm

Concept is very cool, but even with instructions it's pretty hard to understand how to do get to the exit.

Intelli-Gents says ...
Dec 22, 2016 @ 3:58am

I love this idea! I would love to play a larger scope game controlled like this. Please continue to develop this! I want to play more!

You must sign in to comment.


[cache: storing page]