Skip to content

Commit

Permalink
feat: increase of master from 1200 to 2000
Browse files Browse the repository at this point in the history
  • Loading branch information
komeilmehranfar committed Dec 9, 2023
1 parent fc9d3fc commit 26fd4ab
Show file tree
Hide file tree
Showing 4 changed files with 571 additions and 363 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sudoku-core",
"version": "2.0.3",
"version": "2.0.4",
"description": "A typescript Sudoku package for generating, solving (step-by-step or all), and analyzing Sudoku boards with ease. Perfect for building Sudoku games and integrating Sudoku functionality into your applications.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export const calculateBoardDifficulty = (
: DIFFICULTY_HARD;

if (totalScore > 750) difficulty = DIFFICULTY_EXPERT;
if (totalScore > 1200) difficulty = DIFFICULTY_MASTER;
if (totalScore > 2000) difficulty = DIFFICULTY_MASTER;

return {
difficulty,
Expand Down
Loading

0 comments on commit 26fd4ab

Please sign in to comment.