{"repo":"chickensoft-games/LogicBlocks","free":true,"listed":false,"github":"https://github.com/chickensoft-games/LogicBlocks","clone":"git clone https://github.com/chickensoft-games/LogicBlocks.git","description":"Human-friendly, hierarchical and serializable state machines for games and apps in C#.","language":"C#","stars":306,"topics":["app","csharp","game","gamedev","statechart","statecharts","statemachine","statemanagement"],"license":"MIT","category":"game-templates","readme_excerpt":"💡 LogicBlocks [![Chickensoft Badge][chickensoft-badge]][chickensoft-website] [![Discord][discord-badge]][discord] [![Read the docs][read-the-docs-badge]][docs] ![line coverage][line-coverage] ![branch coverage][branch-coverage] LogicBlocks is a serializable, hierarchical state machine package for C# that works well when targeting ahead-of-time (AOT) environments. LogicBlocks draws inspiration from [statecharts], [state machines][state-machines], and [blocs][bloc-pattern]. --- --- Instead of elaborate transition tables, states are simply defined as self-contained class records that read like ordinary code using the [state pattern][state-pattern]. Logic blocks are designed with performance, adaptability, and error tolerance in mind, making them refactor-friendly and suitable for high performance scenarios (such as games). Logic blocks grow with your code: you can start with a simple state machine and easily scale it into a nested, hierarchical statechart that represents a more complex system — even while you're working out what the system should be. 📚 What to Read Next Logic blocks are based on statecharts . You may also know them as hierarchical state machines (HSM's). - 🚨 The Official ✨ [LogicBlocks Docs][docs] ✨ Read this as soon as you're up to speed on statecharts. - 🟢 [Introduction to State Machines and Statecharts][xstate-intro] Beginner : overview for those who are new to statecharts. - 🟡 [Statecharts.dev][statecharts] Intermediate : all the statechart concepts in ","default_branch":null,"files":null,"tree":[],"storefront":"/r/chickensoft-games","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chickensoft-games/LogicBlocks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}