termablo

command module
v0.0.0-...-07dcbcc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 31 Imported by: 0

README

A Fallen camp charges across the Ashen Fields

Termablo

A Diablo-like roguelike for the terminal.
Every torch, campfire, crystal, lava pool and spell casts real, colored, flickering light.
You see only what the light reaches.

Play

Nothing to install:

ssh medv.io -p 2222

Or run it locally:

go run github.com/antonmedv/termablo@latest

Add -seed 42 and the world is the same every time. Share the seed, race a friend.

Latest update

2026-10-10: The Cinder Sanctum, the Ember Cult's chapel under the town's own graveyard, with two new side quests: bring Hadrik back the coal the Cult stole from his forge, and put out the Cinder Prior for Brother Aldous. Also the Gravewardens' Barrow, and two new faces in Emberhold.

See UPDATES.md for more.

Screenshots

Emberhold, the Ashen Fields, the Throne of the Bone King, Blackmarsh, the Sunken Grotto and the Burning Abyss

A king once carried a coal up out of the Abyss and built a town around it. The dark cannot cross light taken from it, so it climbs toward the town instead. You are the stranger they hire to go down and meet it.

Host your own

docker compose up -d        # then: ssh localhost -p 2222

or, without Docker:

go run github.com/antonmedv/termablo@latest -ssh :2222

Built with Bubble Tea and Wish.

Balancing

Nobody tuned the numbers by hand. Two scripted players, a fighter and a caster, play the game to the end over many seeds. How deep they get, what kills them and what their gold does is held against a set of goals (internal/balance), and every number in the game's formulas is a knob (rules.go) a balance pass may turn.

make knobs                                  # every knob: value, range, meaning
make eval OUT=balance/runs/a.json SEEDS=96  # both builds over 96 seeds, scored
make eval OUT=balance/runs/b.json SEEDS=96 RULES=try.json   # knobs laid over the defaults
go run ./cmd/balance compare balance/runs/a.json balance/runs/b.json
go run . -bot fighter -seed 7               # watch one run

A rules file is a JSON overlay, {"WakeRange": 12}. The score is the weighted distance outside the goals, lower is better; compare pairs the two runs by seed and says whether the difference is noise. Every decision goes in balance/LEDGER.md, every pass ends in balance/REPORT.md. In Claude Code, /balance runs the whole loop; the runbook is docs/balancing.md.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
balance command
Command balance is the bookkeeping side of a balance pass.
Command balance is the bookkeeping side of a balance pass.
i18n command
Command i18n maintains Termablo's translations in locales/: it checks them, writes the prompts an LLM translates and reviews from, and merges the replies back.
Command i18n maintains Termablo's translations in locales/: it checks them, writes the prompts an LLM translates and reviews from, and merges the replies back.
internal
balance
Package balance is the measuring side of a balance pass: the rows one evaluation of the game produces (Run, Snap, Ref), the metrics computed from them, the goals they are held to and the score.
Package balance is the measuring side of a balance pass: the rows one evaluation of the game produces (Run, Snap, Ref), the metrics computed from them, the goals they are held to and the score.
i18n
Package i18n is Termablo's localization: message catalogs in MAML (locales/*.maml), English as the source and the fallback, with interpolation, CLDR plural forms, gender agreement for nouns, and the text helpers a terminal needs for wide (CJK) and right-to-left (Arabic) scripts.
Package i18n is Termablo's localization: message catalogs in MAML (locales/*.maml), English as the source and the fallback, with interpolation, CLDR plural forms, gender agreement for nouns, and the text helpers a terminal needs for wide (CJK) and right-to-left (Arabic) scripts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址