Skip to content

A library to help with game logic and map generation, for use with Java roguelike-style games.

License

Notifications You must be signed in to change notification settings

tommyettinger/cuttlebone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cuttlebone

A library to help with game logic and map generation, for use with Java roguelike-style games.

How to "Install"

Declare cuttlebone as a dependency to download it from Maven Central. The one dependency of this project is Google GSON, and Maven (or any of the other tools that make use of Maven, like Gradle, SBT, Leiningen, and so on) should download that automatically.

How to Use the Dungeon Generator

This prints a sample 80x80 dungeon in each of the predefined TilesetType styles.

import squid.squidgrid.map.styled.*;
public class Example
{
    public static void main( String[] args )
    {
        DungeonGen dg = new DungeonGen();
        for(TilesetType tt : TilesetType.values())
        {
            dg.generate(tt, 80, 80);
            dg.wallWrap();
            System.out.println(dg + "\n");
        }
    }
}

About

A library to help with game logic and map generation, for use with Java roguelike-style games.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages