wadiim / nqueen

An N-Queen Problem solver.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NQueen

An N-Queen Problem solver.

Usage

nqueen.py [-h] [--pretty]

nqueen.py reads integers and prints corresponding solutions until EOF. It is intendent to work using both Python 2.X and Python 3.X interpreters.

Options

Option Meaning
-h, --help Show help message and exit.
--pretty Pretty-print the results.
--queen-char CHAR Set the character representing the queen. This option only takes effect when the '--pretty' option is given.

License

MIT

About

An N-Queen Problem solver.

License:MIT License


Languages

Language:Python 100.0%