From f0dd65eae0460a7003b717f989a39b9b9269c39b Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 19 Jul 2025 13:25:47 +0000 Subject: [PATCH] Replace target sum with binary Replaced the target sum with the binary representation once the game is won. --- src/components/BinaryNumberGame.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/BinaryNumberGame.tsx b/src/components/BinaryNumberGame.tsx index 961b658..5ebd081 100644 --- a/src/components/BinaryNumberGame.tsx +++ b/src/components/BinaryNumberGame.tsx @@ -135,7 +135,7 @@ const BinaryNumberGame = () => {

Target Sum

- {hasGameStarted ? targetNumber : "🎯"} + {!hasGameStarted ? "🎯" : isGameWon ? targetNumber.toString(2) : targetNumber}