An alternative algorithm for the n–Queens puzzle
Abstract
In this paper a new method for solving the problem of placing n queens on a n×n chessboard such that no two queens directly threaten one another and considering that several immovable queens are already occupying established positions on the board is presented. At first, it is applied to the 8–Queens puzzle on a classical chessboard and finally to the n Queens completion puzzle. Furthermore, this method allows finding repetitive patterns of solutions for any n.
DOI: https://doi.org/10.2478/rmm-2021-0003 | Journal eISSN: 2182-1976
Language: English
Page range: 39 - 73
Published on: Oct 22, 2021
Published by: Ludus Association
In partnership with: Paradigm Publishing Services
Publication frequency: 2 issues per year
Keywords:
Related subjects:
© 2021 David Luque Sacaluga, published by Ludus Association
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.