This commit is contained in:
bvanvugt 2023-02-19 17:17:59 +00:00
parent a1bf6ec0ff
commit 0b1fbb5423
4 changed files with 7 additions and 5 deletions

View file

@ -123,7 +123,7 @@ func AnySize() sizes {
// OddSizes generates square (width = height) board sizes with an odd number of positions
// in the vertical and horizontal directions.
// Examples:
// - OddSizes(11,21) produces [(11,11), (13,13), (15,15), (17,17), (19,19), (21,21)]
// - OddSizes(11,21) produces [(11,11), (13,13), (15,15), (17,17), (19,19), (21,21)]
func OddSizes(min, max int) sizes {
var s sizes
for i := min; i <= max; i += 2 {