Solved the 8 queen challenge!
I made a program that solves the 8 queen challenge and can print all of its solutions. Took me a while but after thinking about it I figured out that you just need a basic method that checks all previous and future lines and checks if they work with your current position.
TODO:
Add screenshot
Make better looking board printer
Comment code
I made a program that solves the 8 queen challenge and can print all of its solutions. Took me a while but after thinking about it I figured out that you just need a basic method that checks all previous and future lines and checks if they work with your current position.
TODO:
Add screenshot
Make better looking board printer
Comment code