Limitations on the physical actions the player can take is relatively limited - players can't even jump, very much limits bugs that come from player movement and the physics engine. But the gameplay has some very complex mechanics. Mechanics where lesser programmers would have ended up with a far buggers and less fun version. Imo it's easy to imagine weird bugs that manifest as flakiness slipping into the code that back railroad signals and repeaters, and intersecting tracks.