Adding "-1" twice to the series of instructions made this work.
I had to spend time looking at the graphical consequences of my code, then the code, then the graphics again.
But it all works now.
I'll have to add more features to this such as being able to change the edges and corners to match the original game.
For now, we've got the frame, comprising of the four corners in one array.
We have the left and right sides which expand, along with the top and bottom rows. And the repeated center tiles.
9 сен 2024