Skip to content

A java program that solves the n-queens puzzle using Hill Climbing and Random Restart algorithm in Artificial Intelligence.

Notifications You must be signed in to change notification settings

shaniadicen/n-queens-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Artificial Intelligence: N-Queens Puzzle

A java program that solves the n-queens puzzle using Hill Climbing and Random Restart algorithm in Artificial Intelligence.

Problem

N-Queens is a famous computer science problem. The goal is to place “N” Number of queens on an “N x N” sized chess board such that no queen is under attack by another queen.

Below, you can see one possible solution to the N-queens problem for N = 4.
image
No two queens are on the same row, column, or diagonal.

About

A java program that solves the n-queens puzzle using Hill Climbing and Random Restart algorithm in Artificial Intelligence.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages