Framework for registration and recognition of free-hand gestures in digital games