Pinball Table Checker

Validate a Pinquest pinball table and prove every mission goal can be reached by a bot.

The format is described in the Pinquest table spec: elements (walls, flippers, bumpers, ramps …) in table units (20 × 40), lights and rules with missions.

More options

More balls = a stricter proof but a longer check. A stage counts as reachable as soon as the bot finishes it once.

Try an example: ·

More about this tool

Part of Pinquest

How it works

Checks a Pinquest table — a built-in one or your own table JSON — for errors (unknown elements, broken references, missing flippers or plunger, invalid rules), then lets the autoplay bot play every mission stage with the real physics to prove each goal can be reached, and reports stuck balls, free-play scores and switches the ball never touched.

  • Validation follows the Pinquest table format: ids, element types and their geometry in table units (x 0–20, y 0–40), exactly one plunger, at least one left and one right flipper, known lights, drop banks, missions, variables and achievements in every rule, and well-formed conditions and actions.
  • Physics: fixed steps of 1/240 s with sub-steps so no ball or flipper tip moves more than 0.35 ball radii per sub-step; walls, posts, bumpers, slingshots and targets use swept-circle time of impact, so the ball cannot tunnel through them; flippers transfer their surface speed to the ball.
  • For every mission stage the bot starts that mission at that stage as soon as a ball is in play and plays up to the given number of balls (games of 5 balls). A stage is reachable when the bot completes it once. The bot flips when a ball is about to reach a flipper, varies its timing to aim, cradles some balls and pulls the plunger with random strength — it is a fair but imperfect player, so "not reached" means "hard", not "impossible".
  • Free play: three whole games with the bot; ball searches count balls that stopped moving for 5 s (a sign of a ball trap); switches never touched are listed so you can spot shots no flipper can make.

A game-design aid for Pinquest tables, not a model of a real pinball machine.

Sources

Part of Pinquest

  • Pinquest Story pinball game

    3D story pinball: 32 themed tables with missions, wizard modes and wild effects.

    Open Pinquest

How to use the Pinball Table Checker

Validate a Pinquest pinball table and let a robot player prove that every mission stage can be finished with the real game physics.

What it is for

The Pinball Table Checker looks at a Pinquest table — one of the built-in story tables or your own table file — and answers two questions: is the file correct, and can every mission actually be played? First it validates the table: element types and their positions on the 20 × 40 playfield, exactly one plunger, flippers on both sides, and rules whose lights, drop banks, missions and variables really exist. Then a robot player starts each mission stage on its own and plays with the same physics as the game until the stage is done or its balls run out.

It is meant for table makers and AI agents that write tables: a mission that asks for three shots to a saucer the flippers can never reach is a bug, and this tool finds it before a player does.

Worked example

Choose Witch of the King's Castle and 6 balls per stage. The answer: the table is valid and the bot reached all 9 mission stages. The stage table shows how much work each one took. Knock down the drawbridge targets twice needed 73 game seconds over 2 balls; Lock two knights in the dungeon 112 seconds over 4 balls; Trap her in the cauldron was the hardest at 129 seconds and 10 balls (the check plays games of 5 balls, so the bot needed a second game). The wizard stages went fast because they start a three-ball multiball.

The free-play line adds three whole games: a mean score of 1,878,100, 105 seconds per game and one ball search. In those games the ball never touched the left inlane or top lanes B and C, so the checker lists them as switches it never saw.

Paste a copy of the table with both flippers removed and the result changes to not valid with the error "A table needs at least one left and one right flipper on the main playfield."

How to read the result

  • Valid — no errors. Hints (warnings) such as "no wizard mode" do not block the table.
  • Stages reached — every mission stage the bot finished at least once. Game seconds and Balls used show how hard it was.
  • Ball searches count balls that stopped moving for five seconds. More than one or two per game usually means a ball trap: a corner or pocket where the ball can rest.
  • Switches never touched come from free play only. They are hints, not errors: a short game can simply miss a lane.

Tips and common mistakes

  • Raise Simulated balls per stage for a stricter proof. A stage that needs 15 balls to finish once is probably too hard for people too.
  • Orbit lanes need a return wall at their bottom, or balls coming down the orbit run straight into the outlane.
  • Use the Pinball Flipper Shot Map first to see where shots go, then place ramps and targets in those paths.
  • The bot never nudges. Missions that are only possible with nudging will show up as not reached.
  • Every mission needs a way to start: set missionStart to the saucer or lane that begins the next mission.

FAQ

Does "not reached" mean the mission is impossible?

No. It means the bot did not finish it within the balls you gave it. Try more balls or another seed; if it still fails, make the goal easier or the shot more open.

Is the bot as good as a person?

It flips well and varies its aim, but it does not plan shots. Some shots people make easily are rare for the bot, and the other way round.

Can I check a table I wrote myself?

Yes. Paste the table JSON into the text field. Broken JSON is refused; a table with mistakes comes back with a list of problems and where they are.

Why is the same check always the same?

The physics and the bot are deterministic: the same table, seed and number of balls give exactly the same games. Change the seed to see other games.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://pinquesttablecheck.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://pinquesttablecheck.usefulweb.site/mcp · tool name pinquest_table_check
Example request
curl -s -X POST https://pinquesttablecheck.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"table":"witch-castle","tableJson":"","balls":6,"seed":1}'
Feedback · ideas & bug reports welcome