board change

This commit is contained in:
s464923 2024-03-10 20:12:27 +01:00
parent 569d790144
commit 375eec002f

View File

@ -18,7 +18,7 @@ class Board:
for col in range(cols):
cube_rect = pygame.Rect(row * size, col * size, size, size)
if (row + col) % 2 == 0:
if (row) % 2 == 0:
win.blit(self.grass, cube_rect)
else:
win.blit(self.dirt, cube_rect)