Mode 0: Use your mouse to hit the muffin being pointed at. Mode 1: Use a webcam to hit the muffin.
Kind of like dance dance revolution in concept, do thing by moving body as directed by the screen. Use some of these ideas in your own projects, you can even use the scripts directly.