Prg2/space (applying design patterns)

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
This is part of Programming 2 2563

Overview

In this assignment, you will apply design patterns to the provided Space Fighter code.

Prg2-space-fighter.png

Understanding the current code

There are 4 main classes:

  • SpaceGame
  • Ship (in elements.py)
  • Bullet (in elements.py)
  • Enemy (in elements.py)