This is a simple python implementation of the classic N-QUEEN problem in the field of computer science. The objective of the problem is to place N chess queens on an N×N chessboard in such a way that no two queens threaten each other. In other words, no two queens can share the same row, column, or diagonal. First ensure you have python installed in your local machine! To run this code in your system:
git clone (paste the project link)
import pygame
You are almost set !
python N-queen.py