https://github.com/nulladmin1/eightqueens
Eight Queens Puzzle Made for H* Computer Science II Class
https://github.com/nulladmin1/eightqueens
cmake cpp eight-queen-problem eight-queens eight-queens-problem eight-queens-puzzle
Last synced: 3 months ago
JSON representation
Eight Queens Puzzle Made for H* Computer Science II Class
- Host: GitHub
- URL: https://github.com/nulladmin1/eightqueens
- Owner: nulladmin1
- Created: 2025-01-09T04:16:48.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-13T17:15:40.000Z (5 months ago)
- Last Synced: 2025-01-20T22:18:11.325Z (5 months ago)
- Topics: cmake, cpp, eight-queen-problem, eight-queens, eight-queens-problem, eight-queens-puzzle
- Language: C++
- Homepage:
- Size: 453 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Eight Queens
[Eight Queens](https://en.wikipedia.org/wiki/Eight_queens_puzzle) Puzzle is a puzzle where on a typical 8x8 chessboard, you have to place Eight Queens that can't threaten one-another.

## Run
### Nix
- Run using Nix:
```bash
nix run .
```_OPTIONAL_ build using CMake in NixOS:
- Go into `Nix` development shell
```bash
nix develop
```- Follow the steps for `CMake`
### CMake
- Make a temporary directory called `build/`:
```bash
mkdir build/
```- Go into the temporary directory:
```bash
cd build
```- Run `CMake` to generate a `Makefile` and other stuff for `make`
```bash
cmake ..
```- Run `make` to build and run the project
```bash
make
```