This Python script utilizes Pygame to visualize the solution to the challenging 10 Queens chess problem. The objective is to place ten queens on a 10x10 chessboard in a way that no two queens threaten each other. The script employs a recursive algorithm to find a valid arrangement.
Ensure you have Python 3.12 installed on your system along with the Pygame library. You can install Pygame using the following command:
pip install pygame
After installing the required libraries, execute the script by running the following command in your terminal or command prompt:
python vazir.py
If you wish to customize the script further or try solving a different chess problem with a other board(8*8), feel free to modify the code accordingly. The script is designed to be adaptable for various scenarios.