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


Build the createSpaces() Method


  1. Write a method called createSpaces() inside the Board class, below the constructor method using the requirements and guidelines below.
  2. In the Board class constructor method, change the value of the spaces property from an empty array to a call to the createSpaces() method.
  3. Visit the Treehouse Community to discuss your approach and ask questions if you need to.