Breakout — Milestone #1

 

For your first milestone, you need to display the bricks in the correct location on the screen and ensure that they have the proper colors.

This part of the project is similar to (but slightly easier than) the pyramid problem from PS #4. The key challenges are:

  1. Calculate the coordinates of each brick from its row and column number.
  2. Choose a brick color as a function of the row number, keeping in mind that each color applies to two rows.
>