diff --git a/chess/board.go b/chess/board.go index 5007d02..1e3930d 100644 --- a/chess/board.go +++ b/chess/board.go @@ -211,6 +211,7 @@ func (b *Board) movePawn(position string) error { // * 2 moves from start position // * 1 move otherwise // * diagonal if attacking + // * no collision with other pieces return fmt.Errorf("no pawn found that can move to %s", position) }