Yeah I came here to say similar — you’re giving instruction a to game pieces, so rather than trying to solve « physics » you’re asking « would the new board state be legal » — which can be as simple as asking whether the next space has a block and if so, whether the next next space doesn’t