quick cleanup of old code

This commit is contained in:
Marek Baczynski
2026-11-27 19:06:01 +01:00
parent d6e020edb8
commit b952fd79bd
-8
View File
@@ -61,8 +61,6 @@ def read_buttons():
sw2_t = 0
return(sw1_t + sw2_t)
## ------------- BELL INVADERS START HERE ----------------
#global variables. Sue me.
game_score = 0
@@ -338,7 +336,6 @@ while game_is_not_over_yet:
for alien in Alien.get_all_active():
alien.x += alien_step_direction
for alien in Alien.get_all_active():
alien.update()
oled.blit(alien.sprite, alien.x, alien.y, 0)
@@ -384,11 +381,6 @@ while game_is_not_over_yet:
oled.fill_rect(bomb.x, bomb.y, 2, 3, 1)
# debug info
#debugvalue = game_score
#oled.text(str(debugvalue), 4, 50)
oled.show()
# outside of the loop, this is the GAME OVER SCREEN