08-03-2020, 03:55 PM
I'm trying to make a board with a hole in the middle. Here's a small program that reproduces the crash:
(game "ArrayIndexOutOfBounds"
(equipment { (board
(remove
(square (poly {{5 0}{0 5}{0 10}{5 15}{10 15}{15 10}{15 5}{10 0}}))
cells:{82})
)}))
I also get an ArrayIndexOutOfBounds exception if using the "hole" primitive as well, like this:
(hole
(square (poly {{5 0}{0 5}{0 10}{5 15}{10 15}{15 10}{15 5}{10 0}}))
(poly {{7 7}{7 8}{8 8}{8 7}}))
)
(game "ArrayIndexOutOfBounds"
(equipment { (board
(remove
(square (poly {{5 0}{0 5}{0 10}{5 15}{10 15}{15 10}{15 5}{10 0}}))
cells:{82})
)}))
I also get an ArrayIndexOutOfBounds exception if using the "hole" primitive as well, like this:
(hole
(square (poly {{5 0}{0 5}{0 10}{5 15}{10 15}{15 10}{15 5}{10 0}}))
(poly {{7 7}{7 8}{8 8}{8 7}}))
)