Send an email to "[email protected]" to inquire about pricing for your school or university.
Students will master object-oriented programming principles and optionally build a real arcade game. Prerequisites: Programming 1 & 2, or solid Python fundamentals and basic terminal skills.
| Weeks | Topics | Chapters | Lessons |
|---|---|---|---|
| 1 | Clean Code | 1 | 6 |
| 2-3 | Classes | 2 | 12 |
| 4 | Encapsulation | 3 | 8 |
| 5 | Abstraction | 4 | 7 |
| 6-7 | Inheritance | 5 | 15 |
| 8-9 | Polymorphism | 6 | 13 |
| 10 | Pygame | 7 | 3 |
| 11 | Gameloop | 8 | 4 |
| 12 | Player | 9 | 5 |
| 13 | Asteroids | 10 | 7 |
| 14 | Final Game Polish | - | - |
Understand why we have programming paradigms in the first place, and how they help us write more maintainable code
Learn about classes and objects, and how OOP differs from a functional programming paradigm.
Learn how to write cleaner code by encapsulating data and methods.
Abstraction is a powerful tool that will make your code more robust and reusable.
The crux of OOP is the ability to inherit data and behaviors from other classes
Polymorphism is one of the best ideas we've had as developers, learn how it works.
Setup and install Pygame.
Write a gameloop that renders the game at 60 frames per second.
Create a Player class and implement movement.
Add asteroids for the player to avoid.