Skip to content
Game DNA Play a demo

About

About Game DNA

What it is

A library of game elements for people who make browser games with an AI coding agent. Each element is a demo you can play, a module file that does the hard part, and a prompt that tells your agent how to connect it to a game it has never seen. Elements combine: the basket turns several into one prompt.

How we test the prompts

Before an element goes up, a fresh coding agent gets only a game it has never seen, the module and the prompt, and an independent reviewer plays the result. Each element's demo is also reviewed for how it looks and feels.

Art

All art is original. Most of it is drawn in code. Some demo art (painted scenes, portraits, UI frames, card art, some HD sprites and backgrounds) was made with an AI image generator; the game code, the pixel art drawn in code and the prompts are our own. Elements whose demo shows such pictures are marked ✦ AI art. Each picture was made once, checked against resemblance to existing games, characters or brands, and its prompt and generation record are kept with the project. The modules themselves never call a generator.

Where the AI pictures came from, element by element: PROVENANCE.md.

Licences

  • Code (modules, demos, starter games, this site): MIT, see the LICENSE file that ships with the code.
  • Style descriptions follow the structure of lemo-opuscar by lemomo-ai, adapted (rewritten for game art styles) under CC BY 4.0.
  • 3D elements use three.js 0.149.0 (MIT), bundled with them.
  • Fonts: Inter and JetBrains Mono (SIL Open Font License 1.1), served from this site; no font requests go to third parties.

Not affiliated

Game DNA is not affiliated with, endorsed by or connected to any game company. Element names are plain descriptions of common game mechanics.

Try one

Every element has a demo you can play right now.

Browse the elements