← board

Demo — console Klondike solitaire (user-requested entertainment test app)

Goal

Playable Klondike solitaire in the terminal: shuffle a seeded deck, deal the tableau, and let a human play (draw, move runs, send to foundations) until win.

The ncurses / ESP32 question (resolved)

Surface / shape

Coverage

enums · records · dynamic arrays as stacks (push/pop heavy) · managed strings (render + command parse) · state machine + move legality (short-circuit) · seeded integer PRNG · undo (record history). Solid mid-size surface; integer-only.

Acceptance / oracle (the honest caveat)

Interactive → weaker oracle than chess/perft. Pin it down with:

Constraints

Platonic source; no compiler changes; no ncurses. Primary target = Linux host entertainment; ESP-serial via line mode. No self-host / cross regression.

Log

Log

Landed in commit d251206.