Go to file
2023-09-24 23:22:43 -05:00
src Fixed Crossover and added variable board size 2023-09-24 23:19:07 -05:00
test Fixed CMakeLists 2023-09-23 22:38:07 -05:00
.gitignore Added base files 2023-09-14 14:26:08 -05:00
.gitmodules Added Unity 2023-09-14 14:26:26 -05:00
CMakeLists.txt Initial file setup for project 2023-09-23 22:52:21 -05:00
README.md Fixed README 2023-09-24 23:22:43 -05:00

n-queens

Compiling the project

Prerequisites

  • C++11

In order to compile the project, simply run these two commands:

cmake -B build -S .
cmake --build build

Running the Project

The program should now be compiled at ./build/bin/n_queens

Simply run the program using:

build/bin/n_queens

Usage

The program's default board size is 4

To change the board size use:

build/bin/n_queens NUMBER_OF_QUEENS

Example:

build/bin/n_queens 8