node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


Elmeron World Model

CLI Demo

Make sure npm is installed. Clone down this repo and step into the folder.

# Setup
npm install
# Use the demo
npm start

Available commands

  • show - list all tiles on the current level
  • zoom - zoom in or out on a tile position
    • zoom 0 0 zooms in on position (0, 0)
    • zoom zooms out to the upper world
  • explore - explores an unexplored tile
    • explore 0 1 explores the unexplored tile on position (0, 1)