Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Instruction
Callback Function Solution
Callback Function Solution
Update your playToken()
method in the Game class, so your complete method code looks like this:
/**
* Finds Space object to drop Token into, drops Token
*/
playToken(){
let spaces = this.board.spaces;
let activeToken = this.activePlayer.activeToken;
let targetColumn = spaces[activeToken.columnLocation];
let targetSpa...