codebotsinterpreter
v1.0.7
Published
Interpreter for the language used by CodeBots robots
Readme
Interpreter for the language used by CodeBots robots.
Published to NPM here
Inspired by Thorsten Ball's book
The interpreter is split into multiple steps:
Instructions to support
goto(coordinate)
find(ressource): coordinate
gather()
deposit(item)
take(item)
setCraft(item) // parametrer la workbench
isFull(): boolean
isEmpty(): boolean
wait(time)
hold(item)
has(item): boolean
place(item)
while (condition) {
if (condition) {
var a = 0 // boolean, integer, item, ressource, coordinate
}
}