AI AGENT ADDONS

Game Architecture

opusgamelabs/game-creator
Game Development
575installs

Clean game architecture makes browser games easier to build and maintain. Key patterns like the core loop, event-driven messaging, and centralized state are covered. These patterns work for both 2D and 3D games made with Phaser or Three.js.

Modules talk through a shared EventBus without direct imports. A single GameState holds all game data. The Orchestrator controls the game flow from boot to restart. Every choice keeps your game restart-safe and easy to change.

Start with just one mechanic and one level. Add polish only after the core loop works. Use Constants.js to store all numbers and paths. This approach keeps code clean and game reliable.

Add Game Architecture skill to your workflow

Global

mkdir -p ~/.claude/skills/game-architecture

Project

mkdir -p .claude/skills/game-architecture

Source Repository

Stars
200
Forks
26
Watchers
200
Last Push
1 month ago
Created
5 months ago