Skip to content
miandbitsPublic

About

Mothlight: a lantern in a night garden. Glow to gather moths, go dark under the moon to set them free. Made by ai-game-studio.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Mothlight

You are a lantern in a night garden. Hold to glow and gather moths, let go under the moon to set them free, before they singe or fly into a zapper.

Play: https://miandbits.github.io/mothlight/

A night in Mothlight

How to play

  • Move: mouse, or drag with a finger.
  • Glow: hold the mouse button, a finger, or Space. Brightness is the only verb: brighter pulls moths from farther away, but too bright and the ones close to you singe.
  • Deliver: go dark near the moon. Freed moths fly to the brightest light, so make sure that's the moon and not a candle or a zapper.
  • One night lasts 3 minutes. Hold to begin again.

Run locally

It's plain HTML, CSS and ES modules with no build step. ES modules need http, not file://:

python -m http.server 8080 --directory Game

Then open http://localhost:8080.

Headless smoke test (Node 20+): node Game/tests/smoke.mjs.

How it was made

Mothlight was built end to end by ai-game-studio, a team of Claude Code agents (designer, programmers, artist, audio, QA) run by a producer agent, with a human deciding at each gate. It took 8 agents, 20 tickets, 2 milestones and 2 playtests in one session. Visuals are procedural and audio is synthesized; there are no external assets.

  • design/: pitch, game design document, technical design, style guide and the decision log.
  • screenshots/: QA captures from the milestones.
  • .playtest/: the playtest-lab adapter, so bot players and AI persona playtesters can play this game.
Desktop Mobile End of a night

License

MIT

About

Mothlight: a lantern in a night garden. Glow to gather moths, go dark under the moon to set them free. Made by ai-game-studio.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages