How-to Guides
Focused, practical recipes for common tasks with Dealbreaker.
- CLI & Scripting — JSON output, replaying solutions, batch benchmarks, and long-lived
serveprocesses. - Configure Fair Hints & Cancellation — tune sample counts, pass unknown cards (
"?"), set timeouts, and cancel searches. - Solve Points Games — maximize scores in Poker Squares / Cribbage Squares or target a minimum score.
- Tune Search Speed & Budgets — pick strategies, set state/time limits, and adjust heuristic weights.
- Extend Rules with Rust Hooks — add custom Rust logic via
dealbreaker::Hookswhen JSON isn't enough. - Embed in C, Swift, or Kotlin — build static/shared libraries and Apple XCFrameworks from
dealbreaker-ffi.