Claude Game Roulette
totigm/claude-game-roulette
Aleatoriedade controlada: lance um jogo a cada prompt com probabilidade configurável
Ver no GitHubHook para Claude Code que adiciona uma pequena chance (configurável) de lançar um jogo aleatório a cada prompt. Injetar 'ROULETTE HIT' no contexto do modelo, permitindo que Claude reconheça a aleatoriedade enquanto responde normalmente. Perfeito para adicionar um toque de diversão e gamificação ao fluxo de trabalho de desenvolvimento.
Instalação
npx convez-ai totigm/claude-game-roulette1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Adicionar pausas gamificadas durante sessões longas de programação
- Criar mecanismos de recompensa aleatória em workflows de desenvolvimento
- Testar comportamento do Claude sob contextos inesperados e anormais
Veredito

Plugin criativo e bem-implementado que injeta diversão em Claude Code com zero impacto na produtividade real. Config simples, execução confiável, melhor para ambientes de desenvolvimento onde pausas lúdicas são bem-vindas.
README
A tradução para o português deste README ainda está na fila.
claude-game-roulette
A Claude Code plugin. Every prompt you submit has a small chance (default 1%) of launching a random game from a list you curate. The hook also injects a "ROULETTE HIT" note into the model's context, so Claude can acknowledge the chaos and still answer your actual prompt.

Install
Inside Claude Code:
/plugin marketplace add totigm/claude-game-roulette
/plugin install claude-game-roulette@claude-game-roulette
(For local development, point marketplace add at the cloned directory instead of the GitHub slug.)
Then:
- Submit a prompt in Claude Code. The first run creates
~/.claude/claude-game-roulette.jsonwithprobability: 0(inert). - Edit
~/.claude/claude-game-roulette.json. Seeexamples/claude-game-roulette.example.jsonfor a starter.
Config
{
"probability": 0.01,
"games": [
{ "name": "Counter-Strike 2", "command": "steam://run/730" },
{ "name": "Minecraft", "command": "minecraft://", "weight": 2 },
{
"name": "League of Legends",
"command": "/Applications/League of Legends.app"
}
]
}
probability— float in[0, 1]. Per-prompt hit chance. Numeric strings ("0.5") are accepted; anything that isn't a number falls back to 0 with a stderr warning.games[].name— shown in the announcement Claude sees.games[].command— what to launch: a URI scheme (steam://run/730,minecraft://), an.appbundle path on macOS, or an executable path. No shell expansion (see note below).games[].weight— optional. Relative likelihood on a hit. Defaults to 1.
Note: The
commandis launched directly without a shell wrapper. On Linux, this means shell metacharacters (;,|,$) are NOT interpreted — write the literal executable path or use a URI scheme. To launch with arguments, write a tiny wrapper script and pointcommandat it.
Testing your config
Set CLAUDE_GAME_ROULETTE_FORCE=1 for a single Claude Code session to guarantee a hit on every prompt:
CLAUDE_GAME_ROULETTE_FORCE=1 claude
Requirements
- Node.js 18+ on
PATH. If you installed Claude Code via npm you already have it.
Development
npm test
Migrating from claude-roulette (v0.2.x)
The plugin was renamed in v0.3.0. Existing users:
- Move your config:
mv ~/.claude/claude-roulette.json ~/.claude/claude-game-roulette.json - Use
CLAUDE_GAME_ROULETTE_FORCEinstead ofCLAUDE_ROULETTE_FORCEfor forced hits. - Reinstall under the new name:
/plugin uninstall claude-roulette /plugin marketplace remove claude-roulette /plugin marketplace add totigm/claude-game-roulette /plugin install claude-game-roulette@claude-game-roulette /reload-plugins