akrami / sudoku-solver

solve sudoku

Home Page:https://akrami-sudoku-solver.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sudoku Solver

This is a php app which expose an api to solve any sudoku.

hosted on: akrami-sudoku-solver.herokuapp.com

Usage

  • first install all dependencies
composer install
  • run app, like this
php -S localhost:8080
  • you can call api like this
curl -X POST \
  'http://localhost:8080/api/solve' \
  -H 'Content-Type: application/json; charset=utf-8' \
  -d '{
    "grid": "000000680000073009309000045490000000803050902000000036960000308700680000028000000"
  }'

just pass the empty cells with 0, and all elements in a linear string

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

solve sudoku

https://akrami-sudoku-solver.herokuapp.com/


Languages

Language:HTML 54.2%Language:PHP 26.8%Language:CSS 19.0%