diff --git a/pygame/space_invaders/requirements.txt b/pygame/space_invaders/requirements.txt new file mode 100644 index 00000000..b4fe918b --- /dev/null +++ b/pygame/space_invaders/requirements.txt @@ -0,0 +1 @@ +pygame==2.1.2 diff --git a/pygame/space_invaders/source/space_invaders.py b/pygame/space_invaders/source/space_invaders.py index 66a2b269..111dcc96 100644 --- a/pygame/space_invaders/source/space_invaders.py +++ b/pygame/space_invaders/source/space_invaders.py @@ -1,10 +1,9 @@ # Author - Kristiāns Francis Cagulis -# Date - 06.03.2022 +# Date - 11.03.2022 # Title - Space invaders -# TODO: Add enemy movement in groups import pygame -from random import randint, randrange, choice +from random import choice from os.path import abspath, dirname, join WIDTH, HEIGHT = 800, 800