Created a simple text-based game using Python classes and inheritance