P. Gestwicki. ACM SIGCSE Bulletin, 39 (1):
233-237(2007)
Zusammenfassung
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 implenting the logic and animation of game written in Java.
%0 Journal Article
%1 gestwicki2007cgm
%A Gestwicki, P.V.
%D 2007
%I ACM Press New York, NY, USA
%J ACM SIGCSE Bulletin
%K design designpatterns games learning patterns software
%N 1
%P 233-237
%T Computer games as motivation for design patterns
%U http://portal.acm.org/citation.cfm?id=1227504.1227391
%V 39
%X 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 implenting the logic and animation of game written in Java.
@article{gestwicki2007cgm,
abstract = {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 implenting the logic and animation of game written in Java.},
added-at = {2007-09-15T13:14:35.000+0200},
author = {Gestwicki, P.V.},
biburl = {https://www.bibsonomy.org/bibtex/21c413b12f76001bc17179088124c523a/yish},
interhash = {c95c3f979cf53772b7d4ab77330850ed},
intrahash = {1c413b12f76001bc17179088124c523a},
journal = {ACM SIGCSE Bulletin},
keywords = {design designpatterns games learning patterns software},
number = 1,
pages = {233-237},
publisher = {ACM Press New York, NY, USA},
timestamp = {2007-09-15T13:15:09.000+0200},
title = {Computer games as motivation for design patterns},
url = {http://portal.acm.org/citation.cfm?id=1227504.1227391},
volume = 39,
year = 2007
}