Skip to main content
Built by Best ROI MediaMITScheduled · Wave 4BestRoiMedia/bestroi-game-tools

reach

Tick-exact 2D platformer reachability, softlock, and difficulty-curve analyzer.

Decision-point graph solver for 2D platformers that replays real input programs tick-by-tick to verify exit reachability, key/clue placement, ability requirements, softlocks, and campaign difficulty pacing.

Follow BestRoiMedia on GitHub ↗
Upcoming public release (Wave 4)Planned repo: BestRoiMedia/bestroi-game-tools (MIT)
GitHub repositoryBestRoiMedia/bestroi-game-tools
Module path_tools/reach/
LicenseMIT
Release waveWave 4
LanguagesPython

Why we built it

Tile-grid flood fills cannot prove a wall-jump chain, vine swing, or slide-jump is actually possible under discrete 60 Hz physics. reach runs real input sequences through an exact integer physics engine to prove solvability and catch softlocks.

Architecture & how it works

engine.py implements a discrete 60 Hz platformer simulation (variable jump, coyote time, jump buffer, wall-slide/kick, slides, springs, vines, and perks). graph.py searches from decision nodes (ground, wall contact, vine catch) using a library of input programs and caches graphs by room and physics hash. check runs reachability and ability-ablation tests; difficulty computes route time, precision, hazard exposure, and recovery-space pacing across campaigns.

Key capabilities

  • Tick-exact 60 Hz integer platformer physics engine with multi-variant character support
  • Ability-ablation checks proving wall-jump, slide, or vine routes cannot be bypassed
  • Detects sealed SOFTLOCK states, unreachable keys, and missing or buried hidden-key clues
  • Campaign difficulty curve analysis flagging regressions, flat stretches, and long no-recovery runs
  • Color-coded reachability overlay PNGs and generic JSON room format support

Usage example

Check room reachability and campaign difficulty curvePython
python3 reach/reach.py check room_01 room_02 --out ./out/reach
python3 reach/reach.py difficulty --campaign --out ./out/reach
Graphs are cached in ~/.cache/reach keyed by room geometry and physics constants.