Skip to content

Commit

Permalink
Update chess_engine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zachartrand committed May 27, 2021
1 parent 679fe10 commit 233ca54
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions chess_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from chess_pieces import Queen, Rook, Bishop, Knight
from chess_pieces import DIRECTIONS
from chess_board import makeStandardBoard, Square
# from chess_board import makeTwoRooksEndgameBoard, makeQueenEndgameBoard


class GameState():
Expand Down Expand Up @@ -628,8 +627,6 @@ def get_chess_notation(self, gs: GameState):
"""
Returns the move in algebraic notation.
"""
# TODO: Check if pieces of the same name are on the same rank as the
# piece moved in case more specific notation is needed.
if self.contains_castle():
rookFile = self.castle[1].get_coords()[0]
kingFile = self.start_square.get_coords()[0]
Expand Down

0 comments on commit 233ca54

Please sign in to comment.