ck-game-driver-architecture

Design CkFoundation game drivers with scoped lifecycle management and readiness gating.

4|Updated Aug 15, 2023
One-click install
npx skills add https://github.com/chainkemists/CkFoundation --skill ck-game-driver-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck-game-driver-architecture
Source: https://github.com/chainkemists/CkFoundation/tree/main/.claude/skills/ck-game-driver-architecture
Command: npx skills add https://github.com/chainkemists/CkFoundation --skill ck-game-driver-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the architectural debt of global service locators and unmanaged entity spawning by providing a structured, scoped approach to game orchestration.

Core Features & Use Cases

  • Scoped Orchestration: Defines the Driver entity as the Controller in an MVC-patterned game, ensuring policy is separated from mechanism.
  • Readiness Gating: Implements promise-based readiness checks to prevent race conditions during entity spawning and discovery.
  • Use Case: Use this architecture when building complex gameplay systems like mission directors, store managers, or day-night cycles that require reliable dependency injection and lifecycle management.

Quick Start

Use the ck-game-driver-architecture skill to generate the boilerplate for a new game driver entity script that implements the required readiness promise and scoped discovery patterns.

Frequently Asked Questions about ck-game-driver-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent race conditions during entity spawning in Unreal Engine Angelscript?

Use promise-based readiness gating to prevent race conditions during entity spawning by ensuring deterministic dependency resolution before executing scoped gameplay controller logic.

What is the best way to structure Unreal Engine gameplay systems without global service locators?

The best way to avoid global service locators is using scoped game driver architecture, which separates policy from mechanism through MVC-compliant controller logic and subordinate ownership management.

How do I set up dependency injection for complex gameplay systems like mission directors?

Set up dependency injection for complex gameplay systems by defining a scoped Driver entity to manage entity lifecycles, subordinate ownership, and request routing without relying on global state.

Does this game driver architecture apply to day-night cycles and store managers in Unreal Engine?

Yes, this architecture applies to building complex gameplay systems like day-night cycles and store managers that require reliable dependency injection and deterministic lifecycle management.

When should I avoid using global state for entity lifecycles in Angelscript gameplay systems?

You should avoid global state when building gameplay systems requiring deterministic readiness gating and dependency injection, as it creates architectural debt and unmanaged entity spawning issues.

Can I generate boilerplate code for a new game driver entity script with readiness promises?

Yes, you can generate boilerplate for a new game driver entity script that implements the required readiness promise and scoped discovery patterns for your gameplay systems.