An open API service indexing awesome lists of open source software.

https://github.com/timbo-rafa/c-allegro-eight-queens

brute force solution to Eight Queens Puzzle
https://github.com/timbo-rafa/c-allegro-eight-queens

algorithms allegro allegro4 c c-language eight-queens-puzzle makefile

Last synced: about 2 months ago
JSON representation

brute force solution to Eight Queens Puzzle

Awesome Lists containing this project

README

        

# Eight Queens Puzzle

In the Eight Queens puzzle, you have to place 8 queens in a chess board in such a way that they do not threat each other

## Compilation

```
cc eight-queens.c -o eight-queens $(pkg-config allegro --libs --cflags)
```

`$(pkg-config allegro --libs --cflags)` resolves to `-lalleg` in `Ubuntu 16.04`

## Running

```
./eight-queens
```