Git Product home page Git Product logo

sudoku-solver's Introduction

Tests and benchmarks can be done by using the JavaScript console.
Use the command: 
sudoku.test.runTest(Object) where Object is {SQUARE: digit}

or you can use one of the predeclared tests: 
sudoku.test.runTest(sudoku.test.grids.easy.svd_1)

You can also test an entire predeclared group by using:
sudoku.test.runGroupTest(label) where label is one of the labels in sudoku.test.grids
"sm" for example.

Best test results:
==============================
Group Test: easy
Browser: firefox 4
Date: June 3, 2011 5:50PM
==============================
project_euler_1: [SOLVED] in 0.016s
project_euler_2: [SOLVED] in 0.016s
project_euler_3: [SOLVED] in 0.016s
svd_1: [SOLVED] in 0.016s
SUMMARY (total time: 0.064s)
4 [SOLVED]

==============================
Group Test: SM 
Browser: firefox 4
Date: August 6, 2011 01:11AM
==============================
sm
SM_1: [SOLVED] in 0.019s
SM_2: [SOLVED] in 0.094s
SM_3: [SOLVED] in 0.013s
SM_4: [SOLVED] in 0.016s
SM_5: [SOLVED] in 0.009s
SM_6: [SOLVED] in 0.016s
SM_7: [SOLVED] in 0.012s
SM_8: [SOLVED] in 0.011s
SUMMARY (total time: 0.19000000000000006s)
8 [SOLVED]

==============================
The world's hardest sudoku? Arto Inkala
http://www.guardian.co.uk/media/2010/aug/22/worlds-hardest-sudoku#
Browser: firefox 4
Date: August 6, 2011 01:11AM
==============================
world_1: [SOLVED] in 0.029s 

sudoku-solver's People

Contributors

star-deployer avatar riovv avatar

Watchers

James Cloos avatar

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.