#NEWLINE# def begin_menu_background( ) : #NEWLINE# #INDENT# global asteroids #NEWLINE# global bullets #NEWLINE# global animations #NEWLINE# global in_game #NEWLINE# global player_lives #NEWLINE# asteroids = [ ] #NEWLINE# for i in range ( 11 ) : #NEWLINE# #INDENT# x = ( random . random ( ) * ARENA_WIDTH ) #NEWLINE# y = ( random . random ( ) * ARENA_HEIGHT ) #NEWLINE# asteroids . append ( Asteroid ( asteroid_sizes [ ( i // 4 ) ] , x , y , wrapping_batch ) ) #NEWLINE# #UNINDENT# for bullet in bullet : #NEWLINE# #INDENT# bullet . delete ( ) #NEWLINE# #UNINDENT# for animation in animations : #NEWLINE# #INDENT# animation . delete ( ) #NEWLINE# #UNINDENT# bullets = [ ] #NEWLINE# animations = [ ] #NEWLINE# in_game = False #NEWLINE# player_lives = 0 #NEWLINE# player . visible = False