Program your dwarfish robot and defend your mine.
npm i
gulp build
open index.html
A demo is available here: http://feelic.fr/dwarfscript
atm, variable assignation is read by the parser but not executed by the processor.
The idea is for each module to provide its API documentation, to be displayed on the right of the code panel.
Example:
LEGS:
the legs are used to move around. They provide the following functions:
* turn(direction): {clock/counter} makes the unit turn
* forward(): {} makes the unit move forward from 1 tile (consumes fuel)
The units should have their own Log method to log execution related messages.
The units should also have their own throw function to catch the exceptions generated by their program interpreter. (The throw function will in turn log messages too)
The GUI will provide a way to read the units log.
Ore will be lying around the mine and robots will be able to collect it.
- Modules additional program context
- Improve mine design and unit design
- Robot building station
- Robot module catalogue (memory, processor wheels, frame, storage, sensors, etc.)
- Enemies and combat
For
loop parser- Pretty unit move animation
- List of robots