Lo

LogicBlocks: Human-friendly statecharts for C# games and apps

Hacker News

LogicBlocks: Human-friendly statecharts for C# games and apps

I made a hierarchical state machine implementation (or statecharts, depending on how you view it) for C# that allows me to write my nested states using inheritance just like you would with the state pattern. It has an experimental source generator I have been working on that reads your code and produces the UML diagram so you can see what your code looks like based on its inputs, the state changes, and the outputs produced. The source generator probably needs some major improvements to be truly robust, but I've already found it to be incredibly helpful for the game I'm making and some other projects. It's really nice to be able to quickly glance at a diagram as you're making changes to the code to verify if it's what you intended. Hope you like it :))

Share card

Actual performance

2points
1comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, apps, using · Missing: agents, macos, agent
79%79% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
70%70% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
69%69% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: apps · Missing: mobile apps, ios, personal
46%46% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: friendly · Missing: plus, platform, intuitive
46%46% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Ut
Utilizing Gamecenter in apps that are not games34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Utilizing Gamecenter in apps that are not games

Hacker News1
ApkWik
ApkWik38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Games and Apps

Indie Hackerscommitment-side-project
Ba
Base32H, a human-friendly duotrigesimal number system51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Base32H, a human-friendly duotrigesimal number system

Hacker News87
A
A Clojure REPL that is beginner friendly60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Clojure REPL that is beginner friendly

Hacker News4
Postcard Panda
Postcard Panda40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Eco-Friendly Postcards

Indie Hackers1$400/mob2b
TERRA
TERRA69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Eco-friendly soy candles

Indie Hackers1$2,500/mob2b
Lulubox Pro
Lulubox Pro44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Games and Apps

Indie Hackers
We
WebGL Games66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WebGL Games

Hacker News83
Ga
Games with Gran53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Games with Gran

Hacker News3
Ma
Mashed Games – destructable MMO browsergame53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mashed Games – destructable MMO browsergame

Hacker News4