Prg2/pacman (applying design patterns)

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

Overview

In this assignment, you and your friend will apply design patterns to the provided Pacman code. This version of the Pacman game is a 2-player game, where each player tries to score as many points as possible.

Prg2-pacman-2players.png

Dev 1: Observer pattern

Dev 2: Command pattern

Dev 1: Flyweight pattern

Dev 2: State pattern

Optional work