vehlwn / brute-sudoku-rs

Recursive descent sudoku algorithm in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

brute-sudoku-rs

Same as in here in Rust, but implements only recursive descent algorithm.

Client-server app with protocol defined in here.

Build

$ docker-compose build --pull && docker-compose up
# Now open http://your_domain:5000/ in a browser or post data via curl:
$ curl -H "content-type: application/json" http://your_domain:5000/recursive_solver -d '{"table":" . . .  . . .  . . .  . . .  . . 3  . 8 5 . . 1  2 . .  . . .  . . .  5 . 7  . . .  . . 4  . . .  1 . .  . 9 .  . . .  . . .  5 . .  . . .  . 7 3 . . 2  . 1 .  . . .  . . .  . 4 .  . . 9 ", "output_format":"Compact"}'
{"Ok":{"table":"685974321427163985931258764163597842254836197798421536519682473342719658876345219"}}

Example

example1

About

Recursive descent sudoku algorithm in Rust


Languages

Language:Rust 78.5%Language:JavaScript 11.3%Language:HTML 5.1%Language:Dockerfile 4.7%Language:Shell 0.5%