Sat 17 September 2011

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

Posted by Al Sweigart in misc   

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

Screenshot of Simon Gesture game


Check out other books by Al Sweigart, free online or available for purchase:

...and other books as well! Or register for the online video course. You can also donate to or support the author directly.