Expand description
Morpion Solitaire — a fast player and solver.
This is the shared library behind both the native binary (GUI + headless
cli) and the WebAssembly build (the morpion-solitaire-wasm crate). The
game model and search engines are format-agnostic; the self-describing
record format itself lives in the separate morpion-solitaire-record (msr)
crate. See the project README and book for usage.
Modules§
- app
- cli
- Headless command-line interface (native only).
- game
- i18n
- render
- Render a game to a pretty, self-describing SVG (and, via
resvg, PNG): coloured lines per direction, a filled initial cross, numbered move circles, and a tangent “talon” at each line’s origin. Vector text uses the bundled Atkinson Hyperlegible Next font (referenced by family; the PNG path loads the TTF so it always renders). - search
- ui
Functions§
- create_
app - Construct the eframe application. Shared by the native binary (
run_native) and the WebAssembly entry point (themorpion-solitaire-wasmcrate). - run_
native