"Interactive Web Pages with JavaScript" was retired on March 17, 2017. You are now viewing the recommended replacement.
Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed Object-Oriented JavaScript: Challenge!
You have completed Object-Oriented JavaScript: Challenge!
Instruction
Game Class Constructor Method
Assignment:
Create the constructor method for the Game class using the requirements and guidelines below.
Inside the Game class, write a creator method called createPlayers() using the requirements and guidelines below.
The "Why"
The final constructor method that needs to be written is the Game class constructor method.
The Game class has three properties: board, players, and ready.
T...