convez.ai
PluginUtilidadesIniciante
hesreallyhim

Claude Builds Hangman

hesreallyhim/claude-builds-hangman

Jogo da forca em CLI gerado 100% por Claude — prototipagem rápida

Ver no GitHub
InicialPluginScore · de 0 a 100

Implementação minimalista em CLI do jogo da forca, construída integralmente pelo Claude Code em menos de 30 minutos. Demonstra capacidade de geração de código funcional com tipagem, separação de responsabilidades e tratamento de erros, usando apenas bibliotecas padrão do Python.

Instalação

$npx convez-ai hesreallyhim/claude-builds-hangman

1 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

Estrelas
0
Forks
0
Acompanhando
1
Saúde
28%
Último commit
há 1 ano
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Demonstração de capacidades de geração de código com Claude Code
  • Prototipagem rápida de aplicações CLI
  • Exemplo de game design com regras e validação implementadas automaticamente

Veredito

Exemplo prático que valida a capacidade do Claude de gerar código funcionalmente completo e bem estruturado em tempo recorde. Útil como referência de prototipagem rápida, mas com escopo lúdico limitado para aplicações em produção.

README

A tradução para o português deste README ainda está na fila.

Claude Builds Hangman

A simple command-line implementation of the classic "hangman" word-guessing game, built entirely using Anthropic's Claude Code service. I challenged myself/Claude Code to build a functional app in under 30 minutes without manually touching a single file or line of code. These are the results.

Running the Game

python app.py

How to Play

  1. Choose a difficulty level from 1-10
  2. Guess one letter at a time or try the entire word
  3. You have 6 incorrect guesses before the game ends

Requires Python 3.6+

Technical Comments

  • This entire repository was written by Claude Code (for under $2 in less than 30 minutes [less than 10 minutes of actual "work" by Claude]) - I did not touch a single file or line of code.
Total cost: $1.30
Total duration (API): 6m 52.8s
Total duration (wall): 36m 32.7s

Claude's achievements:

  • Created a word-list given vague constraints and estimated the difficulty of guessing that word. (Needs more validation but looks OK on first glance.)
  • Created a decent CLI with a serviceable ASCII-art "UI".
  • Implemented the rules of the game, and acted as a good "host" that isn't vulnerable to at least the most obvious tricks.
  • Understood my design intentions even when I was vague or made explicit mistakes; made really good guesses when working with incomplete information or ambiguity.
  • Code quality: fully typed; object-oriented solution; good separation of concerns; decent error-handling; identification of edge cases even without prompting; documentation of functions; used standard libraries only; mostly OS-independent; no obvious security vulnerabilities; no obvious performance bottlenecks; no obvious memory leaks.
  • Handled source control reasonably well (I didn't give it time to make many incremental commits).
  • Under 300 lines, including comments and the ASCII-art.
Ver o original no GitHub

Bom para

Relacionados