|
|
|
|
|
by YuechenLi
3 hours ago
|
|
>I'm proud to say, I've managed to slay one of the giants, the only successful effort to my knowledge, and this only happened last year. But I did so by basically delegating to another of the giants; they turned out to be twins and we could do without one. The dirty way is the clean way because the alternative contains Lovecraftian geometries. If you are interested, I've built an open source project specifically to solve this issue in game AI and it resolves the switch/if-else ladders pretty cleanly. It's C#, so it should work for .NET version of Godot as well, and I have a couple of sample MonoGame project on there to demonstrate that it works: HSFM + utility AI. Works not just for games, but weirdly for LLM orchestration too. https://github.com/yuechen-li-dev/Dominatus Try it out, I don't want people to think I'm here just to self-promote, but I think this could be the thing that helps you slay the switch statement giants once and for all. If it helps you for your work, hey, powers to you. |
|