Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Build the playToken() Method

Assignment:

  1. Write a method called playToken() inside the Game class using the requirements and guidelines below.
  2. Call this method from the appropriate place inside the handleKeydown() method in the Game class.
  3. Discuss comments in the Treehouse Community.

What Does the playToken() method do?

When a player presses the down arrow key, they initiate a series o...