Method 2: Create a variable with make.
Note: These projects also demonstrate the use of a timer in a game. See How do I set up a timer in a game? for more information.