Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API documentation

The crate-level API reference is generated by rustdoc and hosted on docs.rs:

  • morpion-solitaire-record — the MSR format library (imported as msr): Record, RecordMove, Solver, Variant, Direction, encode/decode (compact MS1: and JSON), validate, and initial_cross.
  • morpion-solitaire-records — the record corpus: RECORDS, a slice of (name, MSR string) pairs.
  • morpion-solitaire — the application library: the game model (GameState, Board, Move, io), the search solvers and SearchState, render, and the egui ui.

The format library is the one to depend on if you only need to read, write or validate records — it pulls in none of the solver or rendering machinery.

Build the docs locally with:

cargo doc --workspace --no-deps --open