Data Structures and Problem Solving Using Java
Data Structures and Problem Solving Using Java
The game of set®: an ideal example for introducing polymorphism and design patterns
Proceedings of the 35th SIGCSE technical symposium on Computer science education
Hi-index | 0.00 |
We describe a general framework that allows a computer science instructor to design programming projects that involve and motivate the effective use of polymorphism. The framework is interesting because it lends itself to the design of a short, flexible game programming project that typically involves the use of multiple classes and class hierarchies. We also give two examples of projects that have been assigned in a second semester computer programming course that utilize this framework. An advantage of these types of projects is that they are open-ended, allowing particularly motivated students to express their skill and creativity. In our experience, the quality of student work on these projects reflects improved student motivation as well as a better understanding of the topic when compared to traditional polymorphism assignments. Although our description of this framework is specific to Java, we feel that it can be easily modified to work in any programming language that supports the object-oriented paradigm.