20 lines
287 B
Python
20 lines
287 B
Python
|
import pygame
|
||
|
|
||
|
SCREEN_SIZE = (640, 480) # Size of the game window
|
||
|
|
||
|
|
||
|
def game():
|
||
|
pygame.init()
|
||
|
|
||
|
window = pygame.display.set_mode(SCREEN_SIZE)
|
||
|
surface = pygame.Surface(SCREEN_SIZE)
|
||
|
|
||
|
running = True
|
||
|
|
||
|
while running:
|
||
|
pygame.display.flip()
|
||
|
|
||
|
|
||
|
def main():
|
||
|
game()
|