Compare commits
2 Commits
7a5fdb6dfb
...
3a5807be57
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a5807be57 | ||
|
|
3b527e4471 |
@ -6,7 +6,7 @@ class AlienInvasion:
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
"""Initialize game and create resources"""
|
"""Initialize game and create resources"""
|
||||||
pygame.init()
|
pygame.init()
|
||||||
self.screen = pygame.display.set_mode((800, 600))
|
self.screen = pygame.display.set_mode((1920, 1080))
|
||||||
pygame.display.set_caption("Alien Invasion")
|
pygame.display.set_caption("Alien Invasion")
|
||||||
def run_game(self):
|
def run_game(self):
|
||||||
"""Start main game loop"""
|
"""Start main game loop"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user