here is an osciloscope tennis game simulator coded in Python (Pygame) - a remake of one of the first electronic games in the game development and research history https://launchpad.net/tennisfortwo