Skip to content

Opening book details…

Can I read Computer Games as Motivation for Design Patterns on EtoBox?

Computer Games as Motivation for Design Patterns by Paul V. Gestwicki is a scholarly article available to read on EtoBox.

What is Computer Games as Motivation for Design Patterns about?

We present a computer game case study that can be used to motivate the need for design patterns. Design patterns are often misunderstood, but good examples can motivate students to work at understanding patterns. Computer games are used in many books and online resources to teach programming concepts, but these examples are usually simplified or non-object-oriented. We present a simple game that exhibits functionality found in commercial games (animation, collision detection, etc.) and show how it can be used as a case study for design patterns. Specifically, we illustrate how the state, facade, observer, strategy, and visitor patterns can replace procedural approaches for implementing the logic and animation of game written in Java.

Author
Paul V. Gestwicki
Publisher
ACM
Published
2007
Language
EN