Lesson 2: Introducing pygame - grid game with pygame and python
Solution Power Point >> here
Head to the main page to check out our other popular resources: Challenges | Solve and Learn | How-to
Note: We have plenty of other pygame tutorials that you can check out, among them are the Python Series #3 lessons which cover the all important concepts of Object Orientated programming and then take you through the process of creating a class based fun game, using pygame. This tutorial is a starter to introduce you to the grid system and get started in that direction, if that is the sort of game you may be interested in creating. Platform games are very popular, but you may be interested in creating chess in python (quite a challenge!), or drafts, snakes and ladders, or anything else with a grid using pygame and python.
Your one stop for all things Python. Do look around!
Our highly popular lessons series - content added regularly! Don't forget to also check out the "Solve & Learn Online"
section which includes hugely popular lessons, challenges, tutorials,
presentations, step by step guides and more. If you can't quite find what you need, do check out our very useful and growing library of all possible python Code Snippets
includes variables, sequence, selection, iteration, and functions, not to mention a load of interesting computing trivia and theory embedded in each ppt, along with learning objectives, quizzes, challenges, solution .py files, tasks and suggested hw, discussion topics and research
covers everything from functions to, lists, list operations, list comprehension, tuples, sets, dictionaries, file handling, read and write from file, including working with CSV files, creating a facebook like application (teacherbook!), using file read and write/append techniques. All lessons include practical tasks, challenges and solution files can be found in 'code snippets' (on this site) or downloaded from the drive:
introduces the concept of object orientated programming and the use of classes with Python. Learn how to create your own classes (and objects) from scratch, and understand OOP essentials. Download pygame and create games in pygame, step by step tutorials. Create a class based game in python and pygame. Understand some of the principles behind game design in programming including edge detection and collision detection. Explore and understand the algorithms and maths behind these important game design essentials. Collision detection in Python and Edge detection, boundary detection. A look at class diagrams and UML for design.
Game Design Series
-highly recommended as described above and create a platform game in Pygame
GUI Python with Tkinter
Content regularly added
Subscribe for access to the drive