About DCE

The Deterministic Command Engine (DCE) is a Unity asset designed to help developers build robust turn-based and tick-based games with built-in replay support, command scheduling, and deterministic execution.

What is DCE?

DCE provides a complete framework for implementing command pattern architecture in Unity games. It combines multiple powerful systems into a cohesive engine that handles:

  • Command Execution - Execute, undo, and redo game actions
  • Deterministic Randomness - Seeded random generation for perfect replays
  • Command Scheduling - Queue commands for specific game ticks
  • Recording & Replay - Capture and playback entire game sessions
  • Event Broadcasting - Decoupled communication between systems

Why DCE?

Building games with replay support, multiplayer synchronization, or complex undo/redo systems is challenging. DCE solves these problems by providing:

  • Guaranteed Determinism - Same inputs always produce same outputs
  • Built-in Replay System - Record and playback gameplay automatically
  • Flexible Architecture - Works with turn-based and tick-based games
  • Easy Integration - Clean API that fits into existing Unity projects
  • Production Ready - Battle-tested patterns and best practices

Who is DCE For?

DCE is ideal for developers building:

  • Turn-based strategy games
  • Card and board games
  • Puzzle games requiring undo/redo
  • Simulations requiring deterministic behavior
  • Games with complex state management

Get Started

Ready to integrate DCE into your project? Check out our quick start guides:

Support

DCE is available on the Unity Asset Store. For questions, issues, or feature requests, please visit our Discord Community (opens in a new tab).