From 60ef352cda08a21e887758fe583d1624fcc90f7c Mon Sep 17 00:00:00 2001 From: Grzegorz Kucmierz Date: Tue, 10 Feb 2026 09:39:05 +0100 Subject: [PATCH] 10% more filled blocks --- src/utils/puzzleUtils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/puzzleUtils.js b/src/utils/puzzleUtils.js index 32ab8c6..d81eb5c 100644 --- a/src/utils/puzzleUtils.js +++ b/src/utils/puzzleUtils.js @@ -45,8 +45,8 @@ export function generateRandomGrid(size) { for (let i = 0; i < size; i++) { const row = []; for (let j = 0; j < size; j++) { - // ~50% chance of being filled - row.push(Math.random() > 0.5 ? 1 : 0); + // ~60% chance of being filled + row.push(Math.random() > 0.4 ? 1 : 0); } grid.push(row); }