Skip to content

Solitaire (Klondike)

Loading…

First interactive canvas scene: draw-1 Klondike with per-frame card dragging, dynamic z-order via RenderOrderDef, and world-space hit-testing over a texture atlas.

Controls: Click stock to deal · drag to move · double-click to send to a foundation · New deal to reshuffle

Source: examples/solitaire

Exercises: asset-loader, audio, collision, drag-drop, input, pile, render-canvas2d, rng, texture-atlas, tick, transform.