Add TODO about collisions

This commit is contained in:
ekzyis 2024-09-18 06:27:52 +02:00
parent 5e9e4a14d5
commit a8dd06590a
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}