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

Instruction

Build the updateGameState() Method

Assignment:

  1. Write a method called updateGameState() inside the Game class according to the requirements and guidelines below.
  2. Write a method called checkTokens() inside the Player class according to the requirements and guidelines below.
  3. Add a callback function to the drop() method call in the playToken() method inside the Game class according to the requirements and g...