28 Apr Markham Saturday 9:30 Python Homework 20.04.25.
We have learned how to create 5 enemy spaceship at once in the class. Try to modify the game we made in the class:
- The program will keep creating new enemy spaceship.
- the new enemy spaceship always shows on the top of the screen but random x position
You need create a variable as a counter. The purpose of the counter is keep counting down(or up) until certain number, then the program will create a new enemy and add that new enemy into the enemy group. Do not forget to reset the count after you create the new enemy.