API Reference Scriber v#0.1.2

Copy Markdown View Source

Modules

Entry point for the Scriber roguelike.

The dungeon ambience bed: a seeded, loopable drone for one depth.

The drafter application: layout, key handling, and where the game and the console meet.

The game's tile art, drawn in code, and the Cauldron2D.Atlas it is installed into.

The maintenance console: a shell-like prompt over one stratum's directory, in Elixir.

Anything that occupies a tile and can be hit: the player and every monster.

Spending and recovering shards: the transactions behind the forge console command.

A whole run as one value, and one turn as one function over it.

The weapon table: what the scriber can fight with, and what each costs.

The on-disk half of the game: one directory of real files per stratum.

One stratum of the Lattice: a grid of tiles plus the fixtures placed in it.

How the map is drawn, layered over Cauldron2D.Renderer.

The game's audio: a Cauldron2D.Audio instance of the application's own, the ambience bed switched as the player descends, and the voice of every event Scriber.Game emits.

Mix Tasks

Play Scriber.