Xs of Y

A roguelike where the magic system is a Lisp, with runes remapped every run

Image 1 of 1: A torch-lit dungeon in the terminal, the player fighting an archer, with HP and combat log

A terminal roguelike written in let-go, a Clojure dialect on a Go bytecode VM: each run generates its title, quest and rune mappings, spells are s-expressions in disguise, and fire spreads through grass and creatures, playable natively or in the browser through WASM.

Trade-offs

  • Spells are flat rune sequences compiled to a pipeline of operations: the engine implements a few composable primitives, and the combinations are left for players to discover.
  • The game loop is driven by input alone so a seed and an action log replay the world bit for bit; animation runs on a separate cosmetic clock that is never recorded.
  • A balance harness runs synthetic players through seeded dungeons; its comparative numbers are trusted, its absolute ones mostly measure bot quality.

Q&A2

let-go, a Clojure dialect on a Go bytecode VM by the same author: persistent data structures throughout, no dependencies and a 6 ms startup.

Reviews

Loading reviews

    More in Clojure

    • EpuppBrowser extension that opens a live ClojureScript REPL into any web page
    • cljgoClojure hosted on Go: a REPL and an AOT compiler to static native binaries
    • ArrodesA terminal coding agent that works through one persistent Clojure REPL

    More in Game dev

    See all 22 →
    • Rigby2DOpen-source 2D skeletal animation editor for games and film
    • Raising HellA Tamagotchi-style virtual pet game for the M5Stack Cardputer ADV
    • WhimTexA sprite and texture editor inside Unity, with layers that stay editable
    • GodotMakerAgent workflow that turns a game idea into a tested Godot project
    • CSG_BlockoutLevel blockout in Godot with native CSG nodes, from drawn rooms to playtest
    • SculptForgeOpen-source digital sculpting app for Linux, macOS and Windows

    More in Terminal UI

    See all 39 →
    • notmuttAsync terminal mail client built on notmuch, with undoable tag operations
    • MastuiMulti-column Mastodon client for the terminal
    • NerdlogMulti-host TUI log viewer with a timeline histogram and no central server
    • Localization Resource ManagerLocalization files from one binary, as a CLI, terminal UI, web UI or in VS Code
    • kernwatchTerminal dashboard for Linux kernel observability
    • KatesPerformance, chaos and security testing for Kafka on Kubernetes