asteroids/main.py
Florian Schmitt 2e5df21095 first commit
2024-10-08 15:38:46 +03:00

16 lines
389 B
Python

import pygame
from constants import *
def main():
print('Starting asteroids!')
print(f"Screen width: {SCREEN_WIDTH}")
print(f"Screen height: {SCREEN_HEIGHT}")
pygame.init()
screen = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT))
while True:
pygame.Surface.fill(screen, (0,0,0))
pygame.display.flip()
if __name__ == "__main__":
main()