elmeron-world-model

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

Usage no npm install needed!

<script type="module">
  import elmeronWorldModel from 'https://cdn.skypack.dev/elmeron-world-model';
</script>

README

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)