small QOL changes
This commit is contained in:
parent
7cdfd133b1
commit
de7e3c529a
4
main.py
4
main.py
@ -38,10 +38,10 @@ while running: #open window
|
|||||||
#chess game
|
#chess game
|
||||||
while posY < 800:
|
while posY < 800:
|
||||||
posX = 0
|
posX = 0
|
||||||
if s1 != True:
|
if not s1:
|
||||||
posX = posX + 100
|
posX = posX + 100
|
||||||
while posX <= 800:
|
while posX <= 800:
|
||||||
pg.draw.rect(screen, color, (posX, posY, sizeH, sizeW))
|
pg.draw.rect(screen, color, (posX, posY, sizeW, sizeH))
|
||||||
posX = posX + 200
|
posX = posX + 200
|
||||||
posY = posY + 100
|
posY = posY + 100
|
||||||
s1 = not s1
|
s1 = not s1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user