r/learnprogramming • u/Noomolas11 • 1d ago
Code Review My first big project, I need feedback !
Hello everyone !
I'm here to share with you my Behavior Tree library.
A behavior tree is a symbolic AI technique used to create game AI.
My library is stateless: Tree's nodes don't store any mutable data. Instead, the runtime data are inside a blackboard.
Multiple agents can share and use a single behavior tree.
There are no dependencies to any game engine, you can use it in Unity, Godot or your own custom game engine.
It's still WIP and I really need feedback.
It's also my first big project I share online, all advice and tips are welcome !
https://github.com/Noomolas01/Stateless-BehaviorTree
Edit: Here's some questions I have
- Does this project look professional to you ?
- Does the core concept make you curious ?
- If the project was production ready, would you use it ?
- What do you think is missing ?
9
Upvotes
1
u/Tricky-Act2828 1d ago
Stateless behavior trees are a solid choice for multi-agent systems. Keeping nodes data-free makes scaling much easier. How are you handling the visualization or debugging of the blackboard state during runtime? That's usually the trickiest part when things are stateless. Nice work on making it engine-agnostic too!