Junior
A collection of solitaire and casino card games drawn entirely with vector graphics — no image assets — using the Flint engine's immediate-mode 2D API from Rhai scripts.
About
Junior is a collection of 2D card games — FreeCell and Klondike so far, with a menu and a card gallery — rendered with zero image assets. Every card is drawn at runtime with the Flint engine’s immediate-mode 2D API: cream card faces, bold red and black suits, iconic suit marks built from circles and scanline-filled triangles, and a large corner index. The aesthetic is minimalist flat, and it’s resolution-crisp by construction.
Gameplay is mouse drag-and-drop, desktop landscape. The whole project is a handful of Rhai scripts and scene files — deliberately tiny.
The Interesting Constraint
Rhai scripts in Flint can’t import across files, so shared code is merged at build time: card_kit.rhai holds pure functions only — card encoding, deck and shuffle, the vector card renderer, hit-testing, layout geometry — and an assembly step prepends it to each game’s controller script. One kit, many games, and the player hot-reloads the generated output as you edit.
Technical Details
- Engine: Flint’s standalone player, run against the prebuilt engine
- Language: Rhai (game logic + rendering), TOML (scenes)
- Games: Klondike, FreeCell, gallery and menu scenes; one controller script per game over the shared kit