Over the last few posts we've looked at PyGame installation, events, event handling, colour definition, initialisation and drawing.
Now it's time to put all the ingredients together in the form of a complete app.
Here's the listing:
Take this basic structure and add your own enhancements. Maybe additional event handling or drawing different shapes.
I hope you've enjoyed this series. Happy coding.
Visit my Raspberry Pi page for news, reviews, advice and tutorials.