<gh_stars>1-10
import sys
import pygame
# from pygame.locals import *

from game import Game

def main():
    # Initialize the game
    game = Game()

    # Main game loop
    while(True):
        # Keyboard and mouse input
        if game.process_input() == False:
            return  # Game over

        game.update_screen()

#call the "main" function if running this script
if __name__ == '__main__':
    main()
import sys
import pygame
# from pygame.locals import *

from game import Game

def main():
    # Initialize the game
    game = Game()

    # Main game loop
    while(True):
        # Keyboard and mouse input
        if game.process_input() == False:
            return  # Game over

        game.update_screen()

#call the "main" function if running this script
if __name__ == '__main__':
    main()
# from pygame.locals import * # Initialize the game # Main game loop # Keyboard and mouse input # Game over #call the "main" function if running this script