Description
LogicBlocks is a C# package for hierarchical, serializable state machines, built on statecharts. Instead of elaborate transition tables, each state is a self-contained class record that reads like ordinary code, using the state pattern. A simple state machine can grow into a nested statechart as the system around it gets more complex, even while you are still working out what the system should do. The package is designed for performance, adaptability and error tolerance, and it works in ahead-of-time compiled environments, which the README calls suitable for high performance scenarios such as games. The project draws on statecharts, state machines and the bloc pattern. The README points to an official documentation site, a short introduction to statecharts for beginners and more advanced reading, and it includes a worked example, a timer tutorial, bindings for connecting logic blocks to your code and visualizations of how logic blocks are structured. The project is published on GitHub by the Chickensoft games organization.…
Highlights
- Hierarchical state machines for C#
- States as readable class records
- Works in ahead-of-time compiled environments
- Serializable state
- Bindings and visualizations
Ratings & Reviews
No ratings yet
Be the first to rate LogicBlocks.
People also visit

ReignsAgent
Creator, simulation reviewer, and portable player toolchain for binary-choice…
LogicBlocks FAQ
What is LogicBlocks?
A C# package for hierarchical, serializable state machines based on statecharts.
Is it for games?
The README says it suits high performance scenarios such as games, and that it works in ahead-of-time environments.
How are states written?
Each state is a self-contained class record, written with the state pattern instead of a transition table.
Where do I learn it?
The README links the official docs, a timer tutorial and introductory reading on statecharts.
What are the best LogicBlocks alternatives?
Popular alternatives to LogicBlocks include Libplanet, ReignsAgent and AnyRPGCore. See all LogicBlocks alternatives








