From 92026405a1bffaaa291eeac579f306479f7719b6 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 21 Jul 2025 06:48:56 +0000 Subject: [PATCH] Fix Northcott's Game Respect user-selected modes in random mode and add spacing. --- src/components/NorthcottsGame.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/NorthcottsGame.tsx b/src/components/NorthcottsGame.tsx index 00e3616..583ddc2 100644 --- a/src/components/NorthcottsGame.tsx +++ b/src/components/NorthcottsGame.tsx @@ -237,7 +237,7 @@ const NorthcottsGame: React.FC = ({ showSocialShare = false const randomGame = () => { const rows = 3 + Math.floor(Math.random() * 8); // 3-10 const cols = 3 + Math.floor(Math.random() * 8); // 3-10 - setGameState(initializeGame(rows, cols, gameState.misereMode, false, gameState.forwardOnly)); + setGameState(initializeGame(rows, cols, gameState.misereMode, gameState.cleanStart, gameState.forwardOnly)); }; const toggleMisereMode = () => { @@ -347,7 +347,7 @@ const NorthcottsGame: React.FC = ({ showSocialShare = false {/* Board Size and Game Control Row */} -
+