Expand description
Tatami is a roguelike dungeon generation algorithm that creates a multi-floor dungeon layout from a series of randomly oriented, interconnected rectangles.
The library attempts to provide many of the common features found in roguelikes, such as stairs, teleporters, items, enemies and traps. It is intended to be used as a base upon which a fully featured game can be built on.
Structs§
- Cell
Connection - A connection in the mock-up.
- Connection
- Connection from one room to another.
- Direction
Iter - An iterator over the variants of Direction
- Dungeon
- A procedurally generated dungeon, complete with rooms, items and enemies.
- Enemy
- An enemy that moves toward and attacks the player.
- Floor
- A floor of the dungeon.
- Generate
Dungeon Params - The parameters used to generate a dungeon.
- Item
- An item that can be used to equipped by the player.
- Position
- X and Y position of a tile.
- Room
- A traversable room in the dungeon.
- Room
Kind Iter - An iterator over the variants of RoomKind
- Stair
- Stairs leading to a different floor.
- Teleporter
- Teleporter providing instant transportation to another on the same floor.
- Trap
- A trap that is hidden from the player and creates a negative effect when stepped on.
Enums§
- Direction
- Cardinal directions iterated in clockwise order.
- Room
Kind - Type of room.
- Tatami
Error - An issue run into during dungeon generation.
- Tile
- A single tile in the dungeon.