Skip to content

Fix bugs for DotsAndBoxesGrid - Tasks 4 - 12

This issue is for tracking the bug fixes required for tasks 4 - 12 in the assignment, bugs to fix:

  • The algorithm for testing if a box is complete is wrong and does not actually work.
  • The DotsAndBoxesGrid currently permits you to "draw" a line that has already been drawn and should throw an exception instead.

Tasks to complete:

  1. Create a branch to fix this issue
  2. Create unit tests that should fail initially and push them to the issue branch
  3. Fix the bugs and run the tests (they should now pass) and push to the issue branch.
  4. Merge the issue branch to main
  5. Close this issue with a ref to the commit hash that fixed the bugs.