Simplify trapped rook code