Skip to content

oliworx/n-queens-problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

n-queens-problem

Build Status

Just a matter for me to get in touch with the Python programming language

visualization of the backtracking algorithm to solve the 8-queens-problem

Setup

  • 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

Usage

from the project directory run python n_queens.py

The output is the number of valid solutions, including duplicates from mirroring and rotations.

License

MIT License: https://kurmis.mit-license.org

About

just trying to get in touch with Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages