Abrahim Ladha bff4e106b4 Update README.md | 5 years ago | |
---|---|---|
NQueen.nb | 5 years ago | |
README.md | 5 years ago | |
humanreadableNQueen.txt | 5 years ago |
Simple mathematica code to generate a shaded N-Queens board, you can use it to write general solutions, and one is provided. To view the board, simple us arrayplot on the board. This was written for Dr. Brown as part of STEP.
Here are a few examples.
pauls general solution for n = 6
pauls general solution for n = 60
some general solution for n = 600
a specific solution of case of n = 24
Given the opportunity again, I definitely would not do this in Mathematica. The fact I have to include a human readable version says something.