Roguelike JS Skeleton

A simple JS roguelike micro-framework for developers new to programming and or JS.

  • Well designed and organized starting structure
  • Modular toolkit of classes essential to roguelike development
  • Does NOT provide map generation tools (other libraries like rot.js should be used for this)
Resources

Github Repo

Code is well commented and designed to be read/edited.

API Docs

Generated from source comments.

Escape from Ecma Labs

Example game made using js-roguelike-skeleton

Design Goals

User Requirements

  • basic js skill level

Code

  • simple and easy to follow
  • well commented and documented
  • demonstrates good practices
  • object oriented design
  • minimal dependencies (ideally none).
  • core code produces a single global variable: RL

Avoided non-beginner techniques

  • game loop / animation
  • object inheritance
  • build process
  • inaccessable or un-modifiable code or behavior (getters, setters, private-ish varables etc)
Examples are designed to be simple and easily editable once Downloaded.

Roguelike JS Skeleton | Manual Home | Github | Download Zip