JaffarPlus
High-performance best-first search optimizer for tool-assisted speedruns
Loading...
Searching...
No Matches
JaffarPlus Engine API Reference

This is the C++ API reference for the JaffarPlus engine — the classes under source/ that implement the best-first search, state/hash databases, the game and emulator interfaces, and the rule/condition/reward system.

It is generated from the engine headers and is aimed at contributors extending the engine or adding games and emulators. If you are looking for how to use JaffarPlus — building it, writing a .jaffar configuration, tuning a search — read the prose manual instead:

  • User & Developer Manual: the JaffarPlus manual (this API reference is served under /api of the same site)

Key entry points

Adding a game or emulator

A new game is a header-only class final : public jaffarPlus::Game placed under games/<platform>/; a new emulator is final : public jaffarPlus::Emulator under emulators/. Registration is automatic. See the manual's "Adding a Game" chapter and the pure-virtual methods documented on jaffarPlus::Game and jaffarPlus::Emulator.