Logo de Simple Game

Simple Game

Comunidade
duncan-buildroom
simple-game

Build a playable browser game in one sitting — one file, opens in any browser, works on a phone, no accounts or databases. Pick from a menu of classics tagged by how long they take, then make it yours with a reskin, one twist, your name on the title screen, and a saved high score. Use when the user says "/simple-game", "build me a game", "I want to make a game", "make a browser game", "can we build snake", "build a game I can send to my friends", "something fun to build", "I don't know what to build first", "make a game with Claude", or "build a game my kid can play".

Visão geral

Publicado porduncan-buildroom
Repositóriofreeskills
Nome da habilidadesimple-game
Estrelas
65
Forks
15
Arquivos incluídos
Somente instruções
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por duncan-buildroom no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Simple Game no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/duncan-buildroom/freeskills/tree/main/simple-game
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/duncan-buildroom/freeskills.git /tmp/freeskills
mkdir -p .claude/skills
cp -r /tmp/freeskills/simple-game .claude/skills/simple-game
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Simple Game em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Simple Game automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Simple Game não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Simple Game — the best first thing you'll ever build

A game is the best first build, and not because it's easy. It's the best because you cannot lie to yourself about whether it works. Websites get a shrug. Games get played. And a game is one file with no login, no database, and nothing to set up — so the only thing between you and something real is describing it well.

Setup

None. This skill works out of the box.

Steps

1. Say why a game first

Open with this, short, in your own words:

  • It either runs or it doesn't. No wondering if it's good. You press a key, the thing moves or it doesn't. That feedback loop teaches you more in one night than a week of reading.
  • People actually play games. Send someone your website and they say "nice." Send them a game and they play it, then send you their score. That reaction is the thing that keeps a beginner building.
  • It's one self-contained file. No database, no accounts, no payments, no server. Everything lives in a single index.html you can email to someone.

Then: "Pick one from this list, or tell me a game you loved and we'll build that."

2. Offer the menu

Show about eight, with honest time tags. Tell them the time is for the version that works, not the version that's polished.

15 minutes

  • Clicker — click the thing, number goes up, buy upgrades. Simplest possible loop, and weirdly addictive.
  • Memory match — flip cards, find pairs. Great one to reskin with your own images.
  • Whack-a-mole — things pop up, you tap them, timer runs down. Works great on a phone.

1 hour

  • Snake — grow, don't hit yourself. The classic first game for a reason.
  • Breakout — bounce a ball, break bricks. Teaches you what "collision" means without you learning the word.
  • Flappy-style tapper — one input, endless, brutally hard. Very shareable.

One evening

  • Platformer (one level) — run, jump, reach the flag. Jumping that feels right takes iteration; that's the lesson.
  • Tower defense (one map, three waves) — place things, watch them fight. Biggest build here; do this second, not first.

If they name a game not on the list, take it, and say honestly which bucket it lands in. If they pick "one evening" and it's their very first build, say plainly that a 1-hour one finished tonight beats an evening one abandoned at 60%.

3. Write the 4-section game spec

Do not start building from a one-line request. Fill this out with them first — it takes two minutes and saves an hour. Four sections, and the wording of each matters.

1. CONTAINER

One self-contained index.html. No build tools, no external JavaScript libraries. Google Fonts only — one display font, one body font. One accent color plus neutrals, never the purple-to-blue gradient. Fixed play area, centered, that fits on a phone screen without scrolling. Works with touch and with keyboard.

2. GAMEPLAY — one rule per bullet This is where beginners go vague and get a mess. Every single bullet is one rule, stated flatly. No paragraphs. Example for Snake:

  • The snake moves one square every 120ms in the direction it's facing.
  • Arrow keys and swipes change direction. It cannot reverse into itself.
  • Eating an apple grows the snake by one square and adds 1 point.
  • Hitting a wall or its own body ends the game.
  • A new apple appears in a random empty square.

Ten to fifteen bullets like that is a complete game. Write them together, read them back, and ask: "Is any bullet doing two things?" Split it if so.

3. UI — placement only, no styling talk

Score top-left. High score top-right. A start screen with the title and "Press space or tap to play." A game-over panel with the score, the high score, and a restart button. Nothing else on screen.

4. THE KICKER Always end the spec with this line, exactly:

Show me a live preview when it runs.

That one sentence is the difference between guessing and seeing.

For sound, if they want it: "Web Audio API, no external files." Simple beeps generated in the browser — nothing to download, nothing to break. For anything saved between sessions: "save to localStorage."

4. Build it, then play it

Build the game from the spec. Save to ~/games/<slug>/index.html. Create the folder.

Open it:

bash
open ~/games/<slug>/index.html

Then: "Play it. Don't be nice about it. What felt wrong?"

Run the loop in plain English, 5-10 rounds. Game feel is almost entirely iteration. Real notes sound like:

  • "It's too fast to react to."
  • "The jump feels floaty."
  • "I keep dying instantly and I don't know why."
  • "Nothing tells me I scored."

Describe the symptom, never touch the code. Every couple of rounds, offer to commit it as a checkpoint so a bad idea can't cost them the working version.

5. The "make it yours" pass

A working clone is a tutorial. A working clone with your fingerprints on it is a thing you made. Do all five of these:

  • Reskin it. Change the subject to something from their actual life. Snake becomes a dachshund chasing treats. Breakout becomes emails you're deleting. Whack-a-mole becomes your inbox at 9am. This one change makes people forward it.
  • One twist mechanic. Exactly one. A power-up, a reverse-controls moment, a square that speeds you up, a mode that flips gravity every 10 seconds. One twist makes it theirs. Two makes it confusing.
  • Your name on the title screen. "SNAKE — by Maya." Small, but this is the point of the whole exercise.
  • High score saved to localStorage. So the number is still there tomorrow. This is what turns a demo into a game.
  • A share button. Copies a line to the clipboard: "I scored 47 in Treat Chase. Beat it: ." Fill the URL in after deploying.

6. Save the notes and hand off

Write ~/games/<slug>/NOTES.md with the spec bullets, the twist, and one line for next time.

Close with: "Run deploy-it to get a real link, then send it to three people tonight and ask for their score. Ugly but live beats pretty but sitting in a folder."

Output — save it

  • ~/games/<slug>/index.html — the playable game, one file, phone and keyboard.
  • ~/games/<slug>/NOTES.md — the gameplay rules, the twist, and the next step.

State both paths. Single next action: run deploy-it, then send it to three people and ask for their score.

Example (input → output)

Input: "I want to build a game but I have no idea what. Maybe something with my dog in it."

Output (Snake, reskinned, saved to ~/games/treat-chase/index.html):

Title screen: TREAT CHASE — by Maya. Press space or tap to play.

The spec that built it, in NOTES.md:

  • The dachshund moves one square every 120ms in the direction it's facing.
  • Arrow keys and swipes change direction. It cannot reverse into itself.
  • Eating a treat grows it by one square and adds 1 point.
  • Every 5th treat is a golden treat worth 3 points and it vanishes after 4 seconds. (the twist)
  • Hitting a wall or its own body ends the game.
  • High score saved to localStorage.
  • Sound: a short beep on eat, a lower one on death. Web Audio API, no external files.

Game over panel: score, best-ever, restart button, and a Copy my score button.

Notes / edge cases

  • The failure this prevents: a beginner's first build being something with no clear win state, so they can't tell if it worked and lose momentum. A game tells you immediately.
  • If their idea needs multiplayer, accounts, or saved profiles across devices, say plainly that's a server build and not tonight. Offer the single-player version now and note the rest in NOTES.md.
  • If a rule bullet is doing two things, split it before building. Vague bullets are where games go wrong, not the code.
  • If they get stuck on game feel, change one number at a time — speed, or gravity, or size. Changing three at once means you learn nothing.
  • Hand off: deploy-it to publish and get the share URL. first-website if they want a page around the game. link-in-bio if they want the game as one of their public links.

Perguntas frequentes

O que a habilidade de IA Simple Game faz?

Build a playable browser game in one sitting — one file, opens in any browser, works on a phone, no accounts or databases. Pick from a menu of classics tagged by how long they take, then make it yours with a reskin, one twist, your name on the title screen, and a saved high score. Use when the user says "/simple-game", "build me a game", "I want to make a game", "make a browser game", "can we build snake", "build a game I can send to my friends", "something fun to build", "I don't know what to build first", "make a game with Claude", or "build a game my kid can play".

Por que usar Simple Game no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Simple Game é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Simple Game no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/duncan-buildroom/freeskills/tree/main/simple-game. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Simple Game?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Simple Game?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Simple Game com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Simple Game é gratuita?

A habilidade é publicada no GitHub por duncan-buildroom. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇