Skip to content

mhassantalpur/NQueensVisualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

N Queens Visualization

Uses Java Swing GUI to show a visualization of 8 Queens problem using backtracking algorithm. Screen Shot 2020-02-26 at 2 47 08 PM

What is a Queen and how does it move?

A Queen is a chess piece, it moves on a chess board. It is able to move up, down, left, right or on a diagonal. This means that any queen that is on the same row, column or diagonal is able to be attacked.

What is a solution?

A board is solved when there are N Queens placed on the board in such a way that none of the Queens can attack each-other.

How to run:

1.) Compile program using JDK compiler
2.) Run from command line

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages