Core Concepts¶
This section covers the fundamental concepts and architecture of MAID.
Overview¶
MAID is built on several key architectural patterns that work together to create a flexible, extensible game engine:
- Architecture - Package layering, async design, network stack
- Entity Component System (ECS) - A data-driven architecture for game objects
- Event-Driven Design - Loose coupling through an event bus
- Content Pack System - Modular, pluggable game content
- Layered Commands - Priority-based command resolution
- AI Integration - LLM-powered features
Architecture Diagram¶
+------------------+ +------------------+ +------------------+
| maid-classic- | | maid-stdlib | | Your Content |
| rpg | | | | Pack |
+--------+---------+ +--------+---------+ +--------+---------+
| | |
+------------------------+------------------------+
|
+-------------v-------------+
| maid-engine |
| +-------+ +---------+ |
| | ECS | | Events | |
| +-------+ +---------+ |
| +-------+ +---------+ |
| |Network| |Commands | |
| +-------+ +---------+ |
+--------------------------+
Quick Links¶
- New to MAID? Start with the Architecture Overview to understand how the pieces fit together.
- Building a game? Learn about Content Packs and ECS.
- Adding commands? See the Command System guide.
- Need AI features? Check out AI Integration.