First place your hand inside the box
§ Algorithm will detect your hand, and display the numbers of fingers
detected
§ Then press button ‘m’ of keyboard to start playing.
§ Each time you change your fingers, repeat the step 3.
§ Once you get out, your final score will be displayed on the scoreboard.
§ Then player (i.e. user) will start bowling and keep repeating step 3.
§ Once the bot is out, final winner will be displayed on the screen !!
To come up with a logic for building this system. Read some articles and took insipiration.
Discussion