The Invent with Python Blog

Sat 17 September 2011

New Game Source Code: Simon Gesture (Simon clone with mouse gestures)

Posted by Al Sweigart in pygame   

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 module works, look at the MooseGesture post

Screenshot of Simon Gesture game