From ecbd64306c782981c39d4e74f442578dc47118dd Mon Sep 17 00:00:00 2001 From: Komeil Mehranfar Date: Fri, 14 Jun 2024 03:05:25 +0200 Subject: [PATCH] feat: make the easy puzzle easier --- src/utils.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index 21b800c..16755ac 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -128,8 +128,10 @@ export const isHardEnough = ( export const getRemovalCountBasedOnDifficulty = (difficulty: Difficulty) => { switch (difficulty) { case DIFFICULTY_EASY: - return BOARD_SIZE * BOARD_SIZE - 30; + return BOARD_SIZE * BOARD_SIZE - 38; case DIFFICULTY_MEDIUM: + return BOARD_SIZE * BOARD_SIZE - 30; + case DIFFICULTY_HARD: return BOARD_SIZE * BOARD_SIZE - 20; default: return BOARD_SIZE * BOARD_SIZE - 17;