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!
Instruction
Render the Board
Assignment:
Inside the Board class, create a render method called drawHTMLBoard() using the requirements below.
Requirements for the drawHTMLBoard() method
This method should receive no arguments.
This method should not return anything.
Use a for-loop or a for-of-loop to iterate through the 2D array of space objects stored in the Board object's spaces property, and call the newly create...