Remove TODO about path collision
This is handled in the move function of the pieces.
This commit is contained in:
parent
bbcd0b7725
commit
d98c0c221d
|
@ -1001,8 +1001,6 @@ func (b *Board) getCollision(position string) (*Piece, error) {
|
||||||
return p, nil
|
return p, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: check if path is blocked by some piece
|
|
||||||
|
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue