code: def clear(self) -> None:
          
          self.turn = WHITE
          self.castling_rights = BB_EMPTY
          self.ep_square = None
          self.halfmove_clock = 0
          self.fullmove_number = 1
  
          self.clear_board()
docs: Clears the board.
  
          Resets move stack and move counters. The side to move is white. There
          are no rooks or kings, so castling rights are removed.
  
          In order to be in a valid :func:`~chess.Board.status()` at least kings
          need to be put on the board.