Skip to content

Commit 63dcb5b

Browse files
committed
update docs
1 parent 79f3f4b commit 63dcb5b

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Contents
22
- [Generator](#generator)
33
- [Solver](#solver)
4+
- [Score](#score)
45
- [Puzzle Form](#puzzle-form)
56
* [Supported Form](#supported-form)
67
+ [4x4](#4x4)
@@ -12,7 +13,6 @@
1213
+ [12x12](#12x12)
1314
+ [16x16](#16x16)
1415
+ [25x25](#25x25)
15-
- [Score](#score)
1616

1717
## Generator
1818

@@ -73,6 +73,20 @@ Puzzle solved = PuzzleSolver.solve(puzzle, 5 * 1000);
7373
System.out.println(solved);
7474
```
7575

76+
77+
## Score
78+
79+
Score of sudoku puzzle is defined
80+
+ `<` **100** : know the rule
81+
+ `>` **100** and `<` **1000** : know some techniques
82+
+ `>` **1000** : requires flat-out trial (_`score / 1000`_ is the number of tries)
83+
84+
The Puzzle with higher score is harder to solve.
85+
86+
To show the puzzle as string, use `puzzle.toString()`
87+
88+
To get score of a puzzle, use `puzzle.difficultyScore(answer)` where **_answer_** is the solved puzzle.
89+
7690
## Puzzle Form
7791
Puzzle form is form of all boxes inside the puzzle. **The first box index is 0**.
7892

@@ -319,20 +333,6 @@ Support Classic Form Only
319333
#### 25x25
320334
Support Classic Form Only
321335

322-
## Score
323-
324-
Score of sudoku puzzle is defined
325-
+ `<` **100** : know the rule
326-
+ `>` **100** and `<` **1000** : know some techniques
327-
+ `>` **1000** : requires flat-out trial (_`score / 1000`_ is the number of tries)
328-
329-
The Puzzle with higher score is harder to solve.
330-
331-
To show the puzzle as string, use `puzzle.toString()`
332-
333-
To get score of a puzzle, use `puzzle.difficultyScore(answer)` where **_answer_** is the solved puzzle.
334-
335-
336336
See Example: https://github.com/dangnguyendota/SudokuGeneratorAndSolver/blob/master/src/vn/com/dangnguyendota/Example.java
337337

338338
Supported:

0 commit comments

Comments
 (0)