跳到正文
CuteGuy☣️· 来源· @cutetoxicguy · X·· 4 天前精选AI 评分78
推荐理由

Game Forge 提供包含资产和测试工具的完整开发环境,展示了 AI 智能体构建可玩游戏的闭环工作流。

正文 · 原文

Describe a game in plain English, let Claude Code build it, and watch a browser bot playtest the result before you even touch the controls. 🎮

Meet Game Forge, an open-source game-development toolkit and desktop application created by developer npmiaman.

It's designed to make building 2D and 3D browser games easier by giving AI coding agents a complete starting environment.

Instead of generating every system from scratch, Claude gets reusable game code, assets, and testing tools.

🧩 What's included?

▪️ Six playable genre templates: Ready-made starting points for different kinds of browser games.

▪️ 2D and 3D engines: Phaser for 2D games and Three.js for 3D environments.

▪️ Shared game kit: Camera effects, particles, visual feedback, menus, gameplay helpers, and procedural art and sound.

▪️ Asset library: Thousands of 3D models, approximately 1,900 sprites, and 670 sound effects.

▪️ Headless playtesting: A Chromium-based bot can interact with games and capture screenshots.

▪️ Export: Package finished browser games for http://itch.io.

The assets come from sources including Kenney, KayKit, Poly Haven, ambientCG, and Microsoft Rocketbox.

🎮 The examples are surprisingly varied.

The repository showcases:

▪️ Neon Swarm, a 2D twin-stick roguelite.
▪️ Block Racer, a voxel-style racing game.
▪️ Hollow House, a first-person horror game.
▪️ Sunset District, a GTA-style city demo with traffic, people, and day/night lighting.
These examples were built using Claude and the shared Game Forge toolkit.
🤖 The most useful feature is the testing loop.
After writing the game, Claude can:

▪️ Launch it in a headless browser.
▪️ Interact with the gameplay.
▪️ Inspect screenshots.
▪️ Identify broken mechanics or visual problems.
▪️ Apply targeted fixes and test again.

There's even a Kid Check that looks for five obvious problems a casual player might notice, such as ugly lighting or unclear visual feedback.

💻 Two ways to use it

Developers can clone the repository and run it with Node.js 20.19+.
There's also a desktop app for:
▪️ Windows x64.
▪️ Apple Silicon Macs.
The app includes the development tools and browser preview, automatically installs Claude Code, and stores your games locally.
⚠️ Important limitation

Game Forge is MIT-licensed, but its AI development workflow still requires a Claude Pro or Max subscription.

The desktop application is also unsigned, so your operating system may display a security warning.

The bigger idea?

A good AI game builder isn't just an LLM that writes JavaScript.

It's an environment where the agent has reusable tools, real assets, a way to play the game, and a way to fix what doesn't work.
From prompt to playable browser game, with testing built into the workflow.

GitHub:
https://github.com/npmiaman/game-forge

#GameDev #ClaudeCode #BrowserGames #OpenSource

来源:CuteGuy☣️ · x.com