Skip to content
Simple command line go program to parse a file into nodes and navigate node routes.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
logging
vendor
world
Gopkg.lock
Gopkg.toml
Makefile
README.md
main.go
main_test.go

README.md

monster

Simple command line go program to parse a file into nodes and navigate node routes.

Quick Start:

  • Clone this repo to Go path e.g. ~/src/github.com/daesu/monster

  • Run make run.

    Make will install dependencies and run the app with the default world map provided.

Usage:

The app accepts three arguments;

  • -f string

    specify world map filename (default "data/world.txt")

  • -g generate map dynamically

Generates N cities and routes between them based on the number of monsters. (default 5000)

  • -m int specify number of monsters (default 5000)

Tests:

Simple tests are included to verify City struct parsing.

  • make test
You can’t perform that action at this time.