Skip to content
Snippets Groups Projects
Closed Fix coding errors in assignment
  • View options
  • Fix coding errors in assignment

  • View options
  • Closed Issue created by Peter Wallbank

    There are 2 coding errors to be fixed in the assignment. 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". The grid doesn't complain if you "draw" a line that has already been drawn. It should throw an IllegalStateException.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first