thomsu / NQueens

Variation of the original n queens problem where the position of the first queen is fixed and the function has to place the remaining queens such that no other queens should be in the same row, column and diagonal axes. Instead of just a standard chessboard, the board size used for this simulation can be 5x5, 6x6, ... up to 10x10.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NQueens

Variation of the original n queens problem where the position of the first queen is fixed and the function has to place the remaining queens such that no other queens should be in the same row, column and diagonal axes. Instead of just a standard chessboard, the board size used for this simulation can be 5x5, 6x6, ... up to 10x10.

About

Variation of the original n queens problem where the position of the first queen is fixed and the function has to place the remaining queens such that no other queens should be in the same row, column and diagonal axes. Instead of just a standard chessboard, the board size used for this simulation can be 5x5, 6x6, ... up to 10x10.


Languages

Language:JavaScript 100.0%