ABSTRACT
In this paper, we describe two programming assignments based on a refactoring of the classic Game of Life application. In particular, we use the Game of Life to help teach freshman students two important and widely applicable design patterns - Command and Visitor.
- E. Gamma, R. Helm, R. Johnson, and J. Vissides, Design Patterns: Elements of Reusable Object-Oriented Software, Addison-Wesley Longman, Reading, MA, 1995. Google ScholarDigital Library
- D. Nguyen, S. Wong, "Patterns for decoupling data structures and algorithms," ACM SIGCSE Bulletin, Proceedings of the thirtieth SIGCSE technical symposium on Computer Science Education, 31(1), 1999. Google ScholarDigital Library
- O. Astrachan, "OO overkill: when simple is better than not," ACM SIGCSE Bulletin, Proceedings of the thirty-second SIGCSE technical symposium on Computer Science Education, 33(1), 2001. Google ScholarDigital Library
- M. Gardner, The fantastic combinations of John Conway's new solitaire game "life", Scientific American, 223: 120--123, 1970.Google ScholarCross Ref
Index Terms
- Using the game of life to introduce freshman students to the power and elegance of design patterns
Recommendations
Teaching design patterns in CS1: a closed laboratory sequence based on the game of life
SIGCSE '05: Proceedings of the 36th SIGCSE technical symposium on Computer science educationDesign patterns are an important element of today's undergraduate curricula. However, their inherent complexities often make them difficult for entry-level students to even partially grasp. In this paper, we describe the latest in our continuing efforts ...
Teaching design patterns in CS1: a closed laboratory sequence based on the game of life
Design patterns are an important element of today's undergraduate curricula. However, their inherent complexities often make them difficult for entry-level students to even partially grasp. In this paper, we describe the latest in our continuing efforts ...
Enemy NPC design patterns in shooter games
DPG '12: Proceedings of the First Workshop on Design Patterns in GamesGameplay in single-player shooter games primarily consists of combat with Non-player Characters (NPCs). However, there has been little research done to study how enemy NPCs affect player behavior in shooter games. As a consequence, there is no formal ...
Comments