Julian Meyer has a great tutorial on implementing a game on Python.