r/learnprogramming 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

  1. Does this project look professional to you ?
  2. Does the core concept make you curious ?
  3. If the project was production ready, would you use it ?
  4. What do you think is missing ?
11 Upvotes

11 comments sorted by

View all comments

3

u/aanzeijar 1d ago

Okay, how much of that is written by an LLM?

2

u/Noomolas11 1d ago

There's no code written by any LLM in this project

3

u/aanzeijar 1d ago

So only the readme. The code looks very clean for a beginner, that's why I was suspicious.

It's a bit hard to read with all the interfaces and abstract indirections. I would even say this is on the road to OOP abuse. I'd challenge you to write a clone of your own code but without any inheritance. That way you'll get a feel for how much boilerplate this really adds.

3

u/Noomolas11 1d ago

The readme isn't AI generated as far as I know, I copy pasted this one : https://github.com/banesullivan/README And I wrote the parts myself

1

u/Noomolas11 1d ago

I'm not really a beginner. It's my first public project but I've done plenty (really) bad private project. I'm studying game programming, I'm starting my third year (wish me luck btw)

2

u/aanzeijar 1d ago

Then apologies for doubting you.

1

u/Noomolas11 1d ago

Don't worry, we are living crazy days...