This game works with Python 2 or 3, though you'll need the Pygame framework first. This game makes use of the MooseGesture mouse gestures module I developed.

Draw out horizontal, vertical, or diagonal lines in the same directions that the dot moves. The pattern of the dot's movement becomes longer and longer.

Source code & music file.

If you'd like to learn about how the mouse gesture algorithm in the moosegesture.py module works, look at the MooseGesture post