Skip to content

Program that finds a configuration to put 8 queens on a chess board such that no queen is in danger of being attacked by another queen in any of the cardinal directions or diagonals.

Notifications You must be signed in to change notification settings

APalumbo97/Queens-Backtracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Queens-Backtracker

Program that finds a configuration to put n queens on a chess board such that no queen is in danger of being attacked by another queen in any of the cardinal directions or diagonals.

Usage: java queen_project.QueenProject <filename> <CLI or GUI>

Using CLI will run the command line interface and using GUI launches the JavaFX application.

You can change the format of the input file and it should still work, put a Q where you want to have a queen and make sure the integer on the first line is the dimensions of the square board.

About

Program that finds a configuration to put 8 queens on a chess board such that no queen is in danger of being attacked by another queen in any of the cardinal directions or diagonals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages