Bring every pin to the center (hole 4) — solver & simulator.
Click the arrows to push bolts (mind the pin direction), or let the solver compute the shortest solution.
Number of bolts/holes, starting positions, and which bolts move each other.