🎰 VS Code: Idle Death Gamble (Hakari Dance)
Hakari Dance
Credit: Titan2
"In the 4 minutes and 11 seconds following a jackpot, Hakari is effectively immortal."
Turn your coding sessions into a high-stakes gamble. When you hit the jackpot, your workspace transforms into a legendary "Fever" state featuring Tuka Donka and Hakari’s iconic dance.
[!WARNING]
Photosensitivity Warning: This extension features fast-flashing colors and "Party Mode" visual effects. Use with caution if you are sensitive to flashing lights.
Intentional Design: In accordance with the lore, the jackpot cannot be stopped once it has begun until the 4:11 timer expires. Closing the sidebar or reloading the window are your only means of early termination.
⚡ Features
- Visual Slot Machine: Interactive sidebar UI with smooth reel animations and a physical pull-handle experience.
- Jackpot Fever: A strictly timed 4-minute and 11-second "Invincibility" phase with dancing Hakari and Phonk beats.
📦 Installation
From VS Code Marketplace
- Open Extensions in VS Code (
Ctrl+Shift+X / Cmd+Shift+X)
- Search for "Idle Death Gamble"
- Click Install
From GitHub Releases (Manual Install)
- Go to the Releases page
- Download the latest
.vsix file
- In VS Code, run "Extensions: Install from VSIX..." from the Command Palette.
Via Command Line
Install from Marketplace:
code --install-extension andrei2699.hakari-idle-death-gamble
Install from local .vsix:
code --install-extension hakari-idle-death-gamble-1.3.0.vsix
or for non VS Code
example Cursor:
Linux
curl -L https://marketplace.visualstudio.com/_apis/public/gallery/publishers/andrei2699/vsextensions/hakari-idle-death-gamble/latest/vspackage -o /tmp/extension.vsix.gz && gunzip -f /tmp/extension.vsix.gz && cursor --install-extension /tmp/extension.vsix
Windows
Invoke-WebRequest -Uri "https://marketplace.visualstudio.com/_apis/public/gallery/publishers/andrei2699/vsextensions/hakari-idle-death-gamble/latest/vspackage" -OutFile "$env:TEMP\extension.vsix"; cursor --install-extension "$env:TEMP\extension.vsix"
⚙️ Configuration
Customize your gamble in VS Code settings:
hakari.jackpotChance: Probability of hitting a jackpot (default: 0.8).
hakari.feverSpeed: Speed multiplier for flashing colors and effects.
hakari.triggerOnTestSuccess: Automatically roll when your tests pass.
hakari.disableFlashingLights: Toggle accessibility mode to disable flashing disco effects.
🛠 Troubleshooting
"InvalidStateError" or Black Screen
If the sidebar appears as a black screen or shows a "Service Worker" error during a VS Code update or extension restart:
- Auto-Recovery: The extension includes a self-healing mechanism that reloads the webview automatically once if it detects a failure.
- Hard Reset: If the black screen persists, VS Code's internal cache may be corrupted.
- Close VS Code.
- Delete this folder:
- Windows:
%APPDATA%\Code\Service Worker
- Mac:
~/Library/Application Support/Code/Service Worker
- Linux:
~/.config/Code/Service Worker
- Restart VS Code.
See the following issues for more information:
⚖️ License
The source code of this extension is licensed under the MIT License.
This license does NOT apply to the media assets (audio, images, GIF) included in this repository. All assets are the property of their respective owners and are used here under fair use for transformative purposes. See Credits for original sources.
📸 Screenshots

📜 Credits