On Sunday, 11 April 2021 at 19:48:42 UTC, Ruby The Roobster wrote:
>On Sunday, 11 April 2021 at 19:45:30 UTC, Ruby The Roobster wrote:
>What am I doing wrong here? Is it the 'for' loop?
Nevermind. I messed up what line it was. It was actually this line:
square[i][j] = new Square(Color.none, sColor.white);
This is maybe interesting for you: https://wiki.dlang.org/Component_programming_with_ranges