Logo : Simple Game

Simple Game

Communauté
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".

Présentation

Éditeurduncan-buildroom
Dépôtfreeskills
Nom de la compétencesimple-game
Étoiles
65
Forks
15
Fichiers inclus
Instructions uniquement
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par duncan-buildroom sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Simple Game dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/duncan-buildroom/freeskills/tree/main/simple-game
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Simple Game dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Simple Game dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Simple Game n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Foire aux questions

À quoi sert la compétence IA 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".

Pourquoi utiliser Simple Game sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Simple Game se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Simple Game dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/duncan-buildroom/freeskills/tree/main/simple-game. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Simple Game ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Simple Game ?

Autant que vous le souhaitez. Vous pouvez utiliser Simple Game avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Simple Game est-elle gratuite ?

Cette compétence est publiée sur GitHub par duncan-buildroom. Consultez le dépôt pour connaître les conditions de licence. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇