From d98c0c221d1456c0a10942ea027227c084619dc8 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Thu, 26 Sep 2024 07:11:44 +0200 Subject: [PATCH] Remove TODO about path collision This is handled in the move function of the pieces. --- chess/board.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/chess/board.go b/chess/board.go index 813a945..ae2a1c7 100644 --- a/chess/board.go +++ b/chess/board.go @@ -1001,8 +1001,6 @@ func (b *Board) getCollision(position string) (*Piece, error) { return p, nil } - // TODO: check if path is blocked by some piece - return nil, nil }