The Thousand Dreams CRPG title screen: four pixel-art adventurers round a campfire under a moonlit ridge

Thousand Dreams

千梦录

A story game with a new scenario every run, in a solo story mode and a party CRPG mode

About the project

Every night is a new dream. Code draws lots for what this run is about, an author writes a three-chapter scenario inside the asset catalog and the rules, and a validator proves it can reach an ending before you ever play it. The solo story mode is lantern-and-stealth horror and sci-fi; the CRPG mode is a turn-based tactical adventure for a fantasy party.

Thousand Dreams has two ways to play, each with its own look. The solo story mode is a night alone with a lantern, stealth and puzzles, following clues through an old house or a space station to learn what is hunting you. The CRPG mode is a long night for a party, with fantasy settings and turn-based tactical combat.

Both modes share one generation pipeline and one story director. Each also ships a ready scenario, the hand-written "Night Wedding at Shen Garden" for the story mode and a frozen "Winter Oath Keep" for the CRPG, so you can start without waiting for generation.

The CRPG simulation is authoritative and separate from the renderer, designed for online play; for now it is single-player.

Thousand Dreams

Highlights

  1. 01

    Draw, write, verify

    Code first draws the genre, motif, hidden truth and endings. An author then writes three chapters inside the asset catalog and the rules, a compiler turns them into events and maps, and a validator searches the state space to confirm every ending can be reached.

  2. 02

    Plays offline

    The default offline template author finishes a scenario in seconds. With a language model connected it can polish the prose or write the whole scenario, and when the result breaks, code asks for fixes from an error list and falls back step by step.

  3. 03

    A pixel world you can turn

    The CRPG mode is built in Three.js, and the camera turns in 45° steps. Characters are pixel sprites with front, back and side views, while furniture and props are extruded from their pixels into solid blocks, so you see their sides as you turn.

  4. 04

    Turn-based tactics

    Action points, hit chances, backstabs and flanking, attacks of opportunity, height and knockback falls, chained surface elements, light and shadow, failing sanity, and talking your way out mid-fight.

  5. 05

    Interludes by the fire

    The hero and companions recruited through the story make a party of up to four. Between chapters the camp lets you recover health and sanity, level up, learn skills and pick one of three supplies.

Thousand Dreams

Screenshots