Skip to content

Commit 5a86094

Browse files
authored
update readme
1 parent 1148721 commit 5a86094

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Map map = Generator.generateRandomMap(size, time(ms), minScore, maxScore);
2+
Map map = Generator.generateRandomMap(size of puzzle (example: 9x9 is 9), time(ms) (maximum thinking time), minScore (minimum score of generated map), maxScore (maximum score of generated map));
33
Example: Generate sudoku 9x9 in maximum 5 seconds and get score between 1 to 5000.
44

55
Map map = Generator.generateRandomMap(9, 5000, 1, 5000);
@@ -15,7 +15,7 @@ To get score of a puzzle, use `map.difficultyScore(answer)` where **_answer_** i
1515

1616
To solve a puzzle use:
1717

18-
int size = <your type of sudoku puzzle>;
18+
int size = <your size of sudoku puzzle, example: 9x9 is 9, 7x7 is 7>;
1919
int[][] puzzle = <your puzzle, minus numbers in all your puzzle's squares 1, for example: empty square 0 becomes -1, 1 becomes 0>;
2020
// init puzzle
2121
Map map = MapFactory.get(size);
@@ -37,4 +37,4 @@ Supported:
3737
- 9x9
3838
- 12x12
3939
- 16x16
40-
- 25x25
40+
- 25x25

0 commit comments

Comments
 (0)