Sometimes the best way to learn something is to solve problems and learn as you go along! Do go through the presentation on OOP and Classes below before you get started on the challenges that will take you through from absolute basics to creating a "Pong" type game using classes and Tkinter - no additional downloads or installations necessary
The concept of OOP and Classes is incredibly interesting and if you are learning this you are probably at an advanced level of learning python (A level/College/University or beyond). Object Orientated Programming is an approach that will take some thinking and re-thinking, but it will be well worth it. We start, as do all the solve and learn series sessions, with an introductory power point. You can then go through and solve/analyse all the challenges. Each challenge introduces various OOP concepts, and the pillars of object orientated programming such as abstraction, encapsulation, inheritance and polymorphism will be looked at.
Download Python 3 here:
In the following session we will be using TKINTER to create a "Pong" like game. No additional downloads necessary. TKINTER is Python's de-facto standard GUI (Graphical User Interface) package. It is a thin object-oriented layer on top of Tcl/Tk.
So click on the link on the left <<--- get started!
A sample flow chart (design) for this particular challenge could look like:
|Test No.||Description||Test Data(input)||Expected Outcome||Actual Outcome||Further Action?|