08 Jul Aurora Monday 18:30 Python Homework 21.07.05.
Posted at 15:55h in Aurora Monday 18:30 Homework 0 Comments
Make changes of the program by creating Enemy class, so we can create an enemy object in the main program, the enemy spaceship could complete the following tasks:
- the enemy could appear at the top of the screen and bounce back and forth when it reaches left or right edge.(You could change the direction of the enemy by changing the first item in self.speed attribute)
Sorry, the comment form is closed at this time.