Tetris For Intro/Intermediate Programmers (Fall 2026 version)
David Kosbie
Carnegie Mellon University
koz@cmu.edu
Adapted to Qatar by Eduardo Feo-Flushing and Ryan Riley
Abstract
These notes are an updated version of this original version. They are designed for intro/intermediate programmers (specifically, students who have completed about 6-to-7 weeks of 15-112 at CMU).
Note that this design for Tetris is somewhat simplified, though the end result is indeed a reasonably functional game of Tetris. Also, the techniques used to create this game can be used to create many other popular arcade games.
Have fun!
Contents
- Prerequisites (Python, CMU Graphics, and Animations with Lists)
- Building Tetris