ผลต่างระหว่างรุ่นของ "Prg2/pacman (applying design patterns)"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
แถว 2: แถว 2:
  
 
== Overview ==
 
== Overview ==
In this assignment, you and your friend will apply design patterns to the provided Pacman code.
+
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.
  
 
[[Image:Prg2-pacman-2players.png]]
 
[[Image:Prg2-pacman-2players.png]]

รุ่นแก้ไขเมื่อ 16:16, 17 มีนาคม 2564

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