Pong has less visual bugs

This commit is contained in:
deckensteuerung 2018-09-04 20:39:12 +02:00
parent 7c2a004009
commit 628e55d20c

View File

@ -132,7 +132,7 @@ while True:
showdigit(numbers[num%10], x+xoff, y, r, g, b) showdigit(numbers[num%10], x+xoff, y, r, g, b)
num //= 10 num //= 10
xoff-=4 xoff-=4
shownum(score2, 0, Ny//2-7, 0x00, 0x00, 0xff) shownum(score2, 0, Ny//2-6, 0x00, 0x00, 0xff)
shownum(score1, 0, Ny//2+2, 0xff, 0x00, 0x00) shownum(score1, 0, Ny//2+2, 0xff, 0x00, 0x00)
for i in range(Nx): for i in range(Nx):
if i %2 == 0: if i %2 == 0: