I taught #inheritance and #polymorphism in my #programming II class today. We created classes which simulate a simple (and legally distinct) game called "Kotomorio" where you roll up things to get bigger.

One of my students pointed out that google translate rendered that as "Kitten Forest" so the game changed to rolling up various kinds of kittens. Simple for now, but we'll expand it more on Friday.

https://github.com/utm-lowe/CSCI222-Spring26-Examples/tree/main/inheritance

CSCI222-Spring26-Examples/inheritance at main · utm-lowe/CSCI222-Spring26-Examples

Programming Examples for the Spring 2026 Section of CSCI222 - utm-lowe/CSCI222-Spring26-Examples

GitHub