A Python project for solving 8 queens problem and visualizing it using OpenCV library.
-
Updated
Apr 7, 2022 - Python
A Python project for solving 8 queens problem and visualizing it using OpenCV library.
Different puzzles to think and enjoy programming.
The task is to arrange 10 queens on a 10x10 chessboard in such a way that none of them can attack the others
NQueen problem solved using Simple Hill and Restart Climbing Heuristic Algorithm
The solution is [3,1,2,4]. The first queen should be placed in the 1st row 3rd column, the second queen should be placed in 2nd row 1st column, the third queen should be placed in 3rd row 2nd column and finally, the 4rth queen should be placed in 4rth row 4rth column.
N-Queens solution using optimization techniques
A program to solve the N-Queens Puzzle written in Python with GUI using pygame module.
Add a description, image, and links to the queens-puzzle topic page so that developers can more easily learn about it.
To associate your repository with the queens-puzzle topic, visit your repo's landing page and select "manage topics."