Skip to content

fix-assignment-errors

  1. The code for checking if a square is complete is wrong. It just returns true at the moment, whereas it should test if the lines surrounding the square have been "drawn".
  2. The grid doesn't complain if you "draw" a line that has already been drawn. It should throw an IllegalStateException.