Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
- Connecting with the DOM
- Connecting with the DOM Solution 3:21
- Rendering Spaces
- Render the Board
- Render the Token
- Rendering the Spaces, Board, and Tokens Solution 5:11
- `Write Getter Methods for unusedTokens, activePlayer and activeToken
- Getter Methods Solution 2:44
- Build the startGame() Method
- startGame() Method Solution 2:53
- Reviewing Rendering the Game 5 questions
Well done!
You have completed Object-Oriented JavaScript: Challenge!
Instruction
Build the startGame() Method
Assignment:
Before beginning this step, take a moment to brainstorm what you think should happen in the startGame() method. Discuss your thoughts in the Treehouse Community.
Fill out the startGame() method that you previously declared in the Game class using the requirements and guidelines below.
Requirements for the startGame() method
The purpose of this method is to put the game in a r...