Object-Oriented Programming with Python: Project-Based
Learn object-oriented design by building: model real things as classes, make objects work together, design small systems with clear responsibilities, then build a multi-class trading game step by step.
- Intermediate level
- 3 modules
- 10 lessons
- 29 tasks and questions
Syllabus
01Thinking in objectsWhy programs are built from objects, how to turn a real thing into a class design, how to implement it with rules and a readable repr, and how objects cooperate through composition.4 lessons
02Designing a system of classesGive every class one job and keep its data behind its methods, model variants with inheritance and polymorphism, and plan a multi-class project before building it.3 lessons
03Project: Star TraderBuild a complete multi-class game step by step: an exception family and a cargo hold, planets and a ship with all-or-nothing trades, and a command console that ties the model to the player.3 lessons