-
Notifications
You must be signed in to change notification settings - Fork 5
Reaction Game
David Silvan edited this page Jul 22, 2016
·
14 revisions
In this lesson, we will create a simple reaction time game using a canvas, an image sprite, and a little bit of math. We will pick a random location within the canvas for the image sprite to be placed at, and the user has to press the image sprite as fast as they can after it appears. Then, we will display the user's time.