Games Unit
Games Unit
Skills
– Object-oriented programming – classes – inheritance – Tick-based time system – Introductory algorithms – terrain/maze generation – NPC behavior – Using logging for evaluation
Practices
– Collaboration – Planning (especially considering alternative possible implementations) – Reading documentation – Reading source code; navigating multiple-file projects – Subclassing to change behavior of exisiting system
Possible Activities
– Observing default behavior of existing framework and tracing the codebase to find where
– Making trivial changes via subclassing. Each can be achieved by adding a single property:
– change the player sprite filename
– scale the player sprite to be larger or smaller.
– change the player speed
– Making small changes by overriding methods (with low task complexity)
– change the input keys
–
– Planning possible implementation strategies
– Give students a list of possible game mechanics (eg an enemy chases you; add an inventory; moving between maps; a way to win the game; a key unlocks a door) and have them write a plan of what could be overridden/extended to make it happen.
–
– Just use the framework to