Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

Dmitriy-Vas/go-dungeon-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-dungeon-gen

A package to generate dungeons built for Go.

Images

First Second

Usage

Clone repository and write in terminal: cd go-dungeon-gen && go build main.go && main.exe
Or you can use precompiled binaries from releases and run as default program.

Command line arguments

There are several command line arguments which can be provided when starting dungeon-gen to change the behavior.
size=NUMBER
Use this argument to change size of the grid.
rooms=NUMBER
Choose total amount of rooms.
attempts=NUMBER
Will change amount of attempts to place room.
min=NUMBER
You can change minimum room size.
max=NUMBER
And with this you can change maximum room size.
seed=NUMBER
Use seed if you want to repeat previous result or generate new.