A Python game, complete with generator.