Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/man2dev/n-queen

Emulator of the N-Queens problem
https://github.com/man2dev/n-queen

java n-queen n-queens n-queens-problem swing swing-gui university university-assignment university-course university-project

Last synced: 10 days ago
JSON representation

Emulator of the N-Queens problem

Awesome Lists containing this project

README

        

# N-Queen

### 4-Queen:
![4-Queen](src/Output/4-Queen/Answers.gif)

### 10-Queen (with all 724 permutations):
![10-Queen](src/Output/10-Queen/Answers.gif)

the generation already Answers are present for 4-Queen up to 10-Queen but only the final gif of 9-Quen and above is left as to reduce space.

output of images and, a gif of all the images is in:
````
N-Queen/src/Output/
````
![images](img/4.png)

the text answers for the aforementiond, is also present there.
![text](img/3.png)

It can also output the text version to the console
![console](img/2.png)

this project was made in `eclipse`

dependencies are `JAVA` and, the `jfreechart` library

the GUI was makde wiuth `swing`

### Fedora
````
sudo dnf install java-latest-openjdk.x86_64
````
## run N-Queen:
run it through eclipse:
````
flatpak install -y flathub org.eclipse.Java
````