I\'m trying to write a game where the user can issue commands by drawing certain patterns with his fingers..for example, if he draws a circle, an \'S\' letter, an expiral, etc.<
The patterns you're referring to are known as "gestures".
This code seems to be what you're looking for.