Skip to content

wadiim/nqueen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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