How to build web games with an AI agent using OhMyGame

How to build web games with an AI agent using OhMyGame

GitHub Open Source
WhiteTowerAI/ohmygame

Build and publish web games entirely through an AI agent that handles the code, assets, and multiplayer logic.

Repository snapshot

  • Repository: WhiteTowerAI/ohmygame
  • Language: TypeScript
  • License: Apache-2.0
  • Stars: 2 155
  • Forks: 270

Daily open-source picks: GitHub Open Source on Telegram

What it is

OhMyGame is an open-source, Electron-based studio designed to consolidate the fragmented game development workflow. Instead of jumping between an IDE, a 3D modeler, a sound editor, and a browser, you use this single application as a canvas. You connect your own LLM provider via API keys, and the agent takes over the heavy lifting: it drafts design documents, writes the code, generates assets, and even runs the game to test for bugs.

Why it matters

Game development is notoriously context-heavy. A simple prototype often requires you to maintain a complex pipeline of assets and code across multiple specialized applications. OhMyGame attempts to solve this by creating a unified environment where the AI agent understands the entire project state. By bringing the agent into the studio, it can handle the repetitive tasks of asset generation and integration, allowing you to focus on the game design itself.

Key features

  • Automated dev loop: The agent handles design, coding, playtesting, and debugging in a continuous cycle.
  • Unified asset canvas: Generate 3D models, audio, and images directly on the canvas, keeping everything organized.
  • One-click publishing: Deploy games to the web with built-in support for multiplayer, leaderboards, and save states.
  • Plugin ecosystem: Extends functionality to existing engines like Godot, Unity, Unreal, and Blender.
  • BYO Agent: Compatible with Claude Code, Codex, and 40+ other model providers.

Quick start

To get started with the source code, ensure you have Bun 1.4.2+ and Node.js 22.19+ installed:

git clone https://github.com/WhiteTowerAI/ohmygame.git
cd ohmygame
bun install --frozen-lockfile
bun run dev

Who should try it

This tool is ideal for solo developers and prototypers who want to build web-based games quickly. If you are tired of the friction caused by switching between five different creative tools just to iterate on a single mechanic, this provides a much-needed consolidation. However, if you are deeply entrenched in a specific engine like Unity or Unreal, you might find this more useful as a companion tool for prototyping rather than a full replacement for your existing production environment.

Verdict

OhMyGame is a promising step toward making game development more accessible and less fragmented. It is not a magic bullet—you still need to manage your own API keys and model providers—but it successfully removes the operational overhead that often kills a project before it gets off the ground. It is worth a look if you want to speed up your prototyping phase.

Continue exploring

Get the next pick in Telegram: Follow GitHub Open Source

Curated from the repository README and metadata. No hands-on test is claimed; evaluate it in a sandbox before production use.

Report Page