Skip to content

A JavaScript (ES 2015) implementation of the N-Queens Problem solver.

License

Notifications You must be signed in to change notification settings

gorlandor/n-queens

Repository files navigation

n-queens

A JavaScript (ES 2015) implementation of the N-Queens 👑 Problem solver.

Dependency Status

Usage

Clone repo:

  • $ git clone https://github.com/giovanni0918/n-queens.git

Install dependencies (assumes node is installed):

  • $ npm install

Build dist directory:

  • $ gulp

Serve locally (assumes php or python is installed):

  • $ php -S localhost:8000
  • alt: $ python -m http.server 8000

Demo it

https://giovanni0918.github.io/n-queens/

Screenshots

8 Queens - Nexus 5x: 2.4750ms

8 Queens - Nexus 5x

12 Queens - Nexus 6: 3.3299ms

12 Queens - Nexus 6

24 Queens - Nexus 9: 406.4049ms

24 Queens - Nexus 9

License