Giter VIP home page Giter VIP logo

taylorjg / dlxlib-demos Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 22.23 MB

React/TypeScript web app to demo dlxlib - using Dancing Links (DLX) to solve puzzles like Sudoku, Pentominoes, N Queens, Draughtboard Puzzle, Ripple Effect, TetraSticks, Kakuro, Nonogram, Flow Free, Crossword

Home Page: https://taylorjg.github.io/dlxlib-demos

HTML 0.51% TypeScript 99.26% JavaScript 0.23%
crossword-solver dancing-links dlxlib flowfree-solver kakuro kakuro-solver nonogram nonogram-solver nqueens-problem-solver pentominoes-solver

dlxlib-demos's Introduction

CI workflow status

Description

This web app demonstrates how to use Donald Knuth's Algorithm X to solve the following puzzles:

  • Sudoku
  • Pentominoes
  • Draughtboard Puzzle
  • N Queens
  • TetraSticks
  • Aztec Diamond
  • Ripple Effect
  • Flow Free
  • Kakuro
  • Nonogram
  • Crossword

It was written using the following technologies:

  • React
  • TypeScript
  • Scalable Vector Graphics (SVG)
  • Web Workers API

Deployed website

This web app has been published to GitHub Pages: https://taylorjg.github.io/dlxlib-demos

Screenshots

TODO

TODO

  • Add DLX matrix description modal to each demo
    • Sudoku
    • Pentominoes
    • Draughtboard Puzzle
    • N Queens
    • TetraSticks
    • Aztec Diamond
    • Ripple Effect
    • Flow Free
    • Kakuro
    • Nonogram
    • Crossword
  • Add ability to find all solutions and navigate between them
  • Add ability to see more information whilst solving:
    • Stages:
      • Building the internal rows
      • Building the DLX matrix
      • Solving the DLX matrix
    • Size of DLX matrix
    • Show accumulated time as solving proceeds:
      • Show an individual value for each stage
      • Show a total value
    • Step count
    • Solution count
  • UI/styling improvements to home page
  • UI/styling improvements to demo page
  • Responsive UI improvements to home page
  • Responsive UI improvements to demo page
  • Add more unit tests
  • Add some end-to-end tests
  • Add eslint
  • Add prettier

Links

dlxlib-demos's People

Contributors

taylorjg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

tjenkinson

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.