yomibench

Setup

What you need

Install

git clone https://github.com/Stixels/yomibench && cd yomibench
uv sync --extra train --extra test
uv run pytest -q                       # tests that need the game skip without it

Building an Arena entry? Check out the current era's tag instead, so you train and test on exactly the code that rates you: git clone --branch arena-2.1.0 https://github.com/Stixels/yomibench (evaluation in arena/spec.json names the version).

Finding the game

yomibench looks in your Steam libraries (the default Steam folder and every library it lists). To point it at a specific library's install, pass --game-dir or set YOMIBENCH_GAME_DIR; it must still be a Steam install.

Each headless copy is built in ~/.yomibench/run (YOMIBENCH_RUN_DIR) from your install: the game's exe, pack and libraries, these scripts, and a small override.cfg. Your install is only read. Copies start with no window (on Windows they run on a separate, never-shown desktop) and with sound off.

Engines

spec what
toy a tiny built-in game, for trying things without the game
game one headless copy of your game
game-pool:N / game-pool:auto N headless copies acting as one engine (sized to this PC with auto)
tcp:HOST:PORT an engine server already running (e.g. yomibench serve)
cmd:... any program that speaks the protocol on stdin/stdout

Linux and macOS

The game's Linux build runs in Docker (docker/). Install the Linux build with your own Steam account (Steam or SteamCMD), mount that library's steamapps folder into the container, and set YOMIBENCH_GAME_DIR to /steamapps/common/YourOnlyMoveIsHUSTLE inside it. On Apple Silicon the image runs under x86 emulation, slower.

Troubleshooting