Rooks

Place the maximum number of rooks such that no two attack each other. Click on a cell to add or remove a rook.