|
|
@@ -9,10 +9,19 @@ _(This was a learning project to get a better grasp of Golang. But more importan
|
|
|
|
|
|
I wrote [a blog post](https://blog.ligthert.net/posts/exploration-fun-and-process-cycles-of-sudoku/) about this.
|
|
|
|
|
|
+## Features
|
|
|
+* Worlds least efficient Sudoku solver
|
|
|
+* Ability to assign a number of CPU cores to this task
|
|
|
+* Split workloads among several computers
|
|
|
+
|
|
|
## Usage
|
|
|
To use the sudoku solver, run the binary with all the parameters available:
|
|
|
```
|
|
|
Usage of ./sudoku-funpark:
|
|
|
+ -numcpu int
|
|
|
+ Number of CPU cores to assign to this task. (default 12)
|
|
|
+ -part int
|
|
|
+ Process part x in n parts. Cannot be lower than 1, or higher than specified in split. (default 1)
|
|
|
-row1 string
|
|
|
1st row of the sudoku puzzle. (default "000000000")
|
|
|
-row2 string
|
|
|
@@ -31,6 +40,8 @@ Usage of ./sudoku-funpark:
|
|
|
8th row of the sudoku puzzle. (default "000000000")
|
|
|
-row9 string
|
|
|
9th row of the sudoku puzzle. (default "000000000")
|
|
|
+ -split int
|
|
|
+ Split the tasks in n parts. This depends on the availability of the first row. (default 1)
|
|
|
```
|
|
|
|
|
|
Instead of using the 3x3 blocks with 3x3 digits, it uses horizontal rows from top to bottom.
|