Computer Application
2014
Roast Mochi
A pitch detection interactive game
In order to start the game, the user needs to press space bar to hear a tone and press space bar again to stop it. The user then needs to press mouse left button to start the recording his/her voice. The sound that the user sings will then be calculated for its pitch frequency and it will be printed in the console. If the number of either the burnt or well roasted mochi reaches 5, then the game is over and the user will have the option of pressing r to restart another session of the game. The user can press q to quit the game anytime, s to toggle full screen and h to print help messages.
unroasted mochi
roasting mochi
well roasted mochi
5 burnt mochi- game over
5 well roasted mochi- wins the game