Skip to content

Commit

Permalink
Remove experimental interactive PGN viewer (closes #753)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Jul 27, 2023
1 parent dc026b9 commit 179b6f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 195 deletions.
190 changes: 0 additions & 190 deletions chess/_interactive.py

This file was deleted.

5 changes: 0 additions & 5 deletions chess/pgn.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,11 +804,6 @@ def __init__(self, headers: Optional[Union[Mapping[str, str], Iterable[Tuple[str
def board(self) -> chess.Board:
return self.headers.board()

# TODO: Consider naming.
def _interactive_viewer(self) -> Any:
from chess._interactive import InteractiveViewer
return InteractiveViewer(self) # type: ignore

def ply(self) -> int:
# Optimization: Parse FEN only for custom starting positions.
return self.board().ply() if "FEN" in self.headers else 0
Expand Down

0 comments on commit 179b6f3

Please sign in to comment.