From 4313831e84271107fee4a86c2aef4a606296102a Mon Sep 17 00:00:00 2001 From: Grzegorz Kucmierz Date: Tue, 10 Feb 2026 09:54:56 +0100 Subject: [PATCH] 75% 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 d81eb5c..3566e5d 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++) { - // ~60% chance of being filled - row.push(Math.random() > 0.4 ? 1 : 0); + // ~25% empty cells + row.push(Math.random() > 0.25 ? 1 : 0); } grid.push(row); }