Skip to content

8 Queens problem with walls and different scores for each square solved with backtracking and forward check

License

Notifications You must be signed in to change notification settings

smohammadhejazi/8-queens-with-walls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

8 Queens with walls

This is the famous 8 queens problem but there are walls on the board. Queens cannot attack each other through walls. Also, in the code with square scores, there are scores associated with each square and each found solution should have a predefined minimum score.
First code is this:

8queens-with-walls.py

This is 8 queens with walls solved with backtracking and forward check.
The second code is:

8queens-with-walls-and-scores.py

This is 8 queens with walls and also each square has a score, found solutions should have a predefined minimum score.

About

8 Queens problem with walls and different scores for each square solved with backtracking and forward check

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages