Hi i want to extend the chessboard from the chessboard tutorial so that instead of being 64x64 is 512x512
i thought that i could just change these lines of code here:
self.squares = [None for i in range(64)]
self.pieces = [None for i in range(64)]
for i in range(64):
and change the numbers to 512
but when i run to see the results the chessboard has been extended upwards (so now it’s no longer square but it’s a rectangle)
how do i make it into a square? i can’t see anything that limits the board so it only grows upwards…