A tiny example game written in Python. It uses Pyglet.