Just a matter for me to get in touch with the Python programming language
- clone the repo
git clone https://github.com/oliworx/n-queens-problem.git
- enter the project directory:
cd n-queens-problem
- make sure to have python runtime environment installed:
- check for installed python with
python --version
- install Python on Ubuntu/Debian
apt install python
- check for installed python with
from the project directory run python n_queens.py
The output is the number of valid solutions, including duplicates from mirroring and rotations.
MIT License: https://kurmis.mit-license.org