Introduction to OOP | Chapter 6: The Eight Queens Puzzle: | next | previous | audio | real | text |
We can make each queen point to the next on the left, then send messages only to the rightmost queen. Each queen will in turn send messages only to the neighbor it points to.