Add Subtraction Game interactive

Implement "The Subtraction Game" interactive with sliders for n and k, a play/reset button, turn-based gameplay between two players, and visual feedback including confetti for the winner.
This commit is contained in:
gpt-engineer-app[bot] 2025-08-22 06:24:19 +00:00
parent 4be4ab3ef5
commit 1ff24d145c
6 changed files with 237 additions and 0 deletions

View file

@ -41,6 +41,7 @@
"@radix-ui/react-tooltip": "^1.1.4",
"@tanstack/react-query": "^5.56.2",
"@types/qrcode": "^1.5.5",
"canvas-confetti": "^1.9.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",