Git Product home page Git Product logo

sudoku-solver's People

Contributors

asmyers avatar trh178 avatar

Watchers

 avatar

sudoku-solver's Issues

tail of empty list problem on puzzle 3

two pronged:

a) should probably have a 'remove all but from list, safely' function

BUT

b) fix higher level problem that is causing me to want to remove all possibilities from a set. this is clearly a higher level LOGIC problem!

Steps to solution

It would be nice to print out a description of each step taken to solve the puzzle. It would give a more thorough answer for someone wishing to solve a puzzle by hand (if they get stuck), and it would help with debugging issues, to see where the program itself makes a mistake.

Specify Dependencies

Figure out what the standard method is for specifying dependencies in a Haskell project on Github. I want to follow best practices so I know how to properly set up a project for distribution (even though this one is not of the utmost importance, I'd like to know for future reference).

Add a Web Service

The web service would return a generated puzzle or return a solution to a proposed puzzle

Web Service Error Handling

Currently the web services work if the requester behaves. Error Handling and recovery should be added.

Partition puzzle pool

We cant currently solve all puzzles in the puzzle-pool. Partition the file into currently solvable and currently unsolvable

Puzzle Pool

Modify input method to take advantage of 250 puzzles in puzzle pool.

Improve Generator

Add a puzzle generator that just pulls from the puzzle-pool and generates a puzzle

Unsolvable Puzzles

Add some capability to return "Puzzle unsolvable". This way, passing invalid puzzles or puzzles that are currently too difficult, into the solver will not crash things.

Add a showBoard function

The original module has been slightly modified with regards to its output. When I added the web service, the output of the module is now just one big long string. I would like to 'pretty print' the module command line output again.

Can't solve all puzzles yet

Go as far as I can with constraint algo, then just finish off with brute force. Should still be pretty quick.

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.