Skip to content

gamesedu/dwarfscript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dwarfscript

Program your dwarfish robot and defend your mine.

Setup

npm i
gulp build
open index.html

Demo

A demo is available here: http://feelic.fr/dwarfscript

Upcoming features

Near future

Variable assignation interpreter

atm, variable assignation is read by the parser but not executed by the processor.

Robot documentation generator

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)

Unit execution log

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.

Collector module and ore

Ore will be lying around the mine and robots will be able to collect it.

Backlog

  • 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

About

A game of Dwarfish Programming. Maze escape using programming commands.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.9%
  • CSS 18.2%
  • Smarty 2.3%
  • HTML 0.6%