Coder Social home page Coder Social logo

nqueens-board's Introduction

favicon

Board of N-Queens

A famous computer science problem is the inspiration for this maze.

There are eight queens in the maze. They must be arranged in a certain order without any rows, columns, or dialogues intersecting each other in order to solve the maze. It is essential to know that N Queen refers to a chess board on which only n number of queens can be present at the same time.

There are n rows and n columns in this case, which indicates how many rows and columns there are. As an example, if the chess board measures 4 by 4, it will have four queens, whereas if the board measures 8 by 8, it will have eight queens.

When a queen is placed on a cell (at a specific place), no other queens can be placed on the same row, column, or diagonal as that queen. As a result of this maze, a very significant question arises in the field of computer science called the N QueeProblem.

In this problem, we must find the correct solution within a limited number of attempts. You might be able to solve it if you try.

Solve N-Queen Problem

maze maze

create with ๐Ÿ’— by @abhayprajapati

Recommend features and improvements

Future updates will include:

  1. As soon as the user completes the maze, all the cells will turn green.
  2. Share on Twitter and social media.

nqueens-board's People

Contributors

theabhayprajapati avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

nqueens-board's Issues

Explaination for project.

Explain clearly what does this project does, what one can learn from this also if they don't know to solve it add some resources to learn it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.