Learn how to review the initial test cases created for the Eight Queens problem.
- [Instructor] In the exercise folder,…find the Eight Queens folder and the Begin sub folder.…From there open the Code Clinic solution.…The solution contains two projects.…The project named EightQueens is a unit test project.…The project Chess is a class library.…So I've prepared a chess board class for you…just to make your life a little bit easier…get started a bit more quickly.…I'll double click chess board.…So, in looking at the file, you can see there are…three tasks for us to be able to accomplish this challenge.…
So first, the method on line 11, is called IsSafe.…It's my way to say every piece on the board IsSafe.…None of the pieces are being attacked by another piece.…Then on line 16 and 21, we'll implement…the PlaceQueens methods where we actually go…and place pieces on the board and…back track if we run into a corner…where we don't find a solution.…To make our lives easier, at the bottom you see there…on line 26, there is a region with multiple constructors.…Also for convenience later for printing out…
Skill Level Intermediate
1. Problem 1: Pond Oreille
2. Problem 2: Where Am I?
3. Problem 3: Eight Queens
4. Problem 4: Accessing Peripherals
5. Problem 5: Facial Recognition
6. Problem 6: Real-Time Information Dashboard
Next steps2m 46s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.