/nqcw

N-Queens for Compilerworks

Primary LanguageJavaMIT LicenseMIT

nqcw

N-Queens with colinearity restriction for CompilerWorks

Usage

To run:

./gradlew run

To change the board size (for n=10):

./gradlew run --args="10"

To run the traditional N-Queens, add the -t flag:

./gradlew run --args="10 -t"

Docs and Implementation Notes

./gradlew javadoc && google-chrome build/docs/javadoc/index.html

Tests

./gradlew test