Skip to main content

Python & Pygame for beginners (1 lesson)

Downloaded: 20

Last edit: 05 November 2021

Language/Platform Python
Subject Knowledge Programming and Development
Imported Resource Type Curriculum/SoW
Key Stage 3 Programming
GCSE/Key Stage 4 General
Age Range 11-14, 14-16

This resource contains a presentation and three sample programs.

graphic1.py - shows how to set up a graphics window and change the background colour on mouseclicks.

bounce.py - simple animation (ball bounces around screen).

bat_ball.py - simple bat and ball game (includes rudimentary collision detection and a text object)