rvitorper

go-bt

rvitorper

Minimalist BT implementation in Go

AI 简介

go-bt 是一个面向 Go 语言的轻量级行为树(Behavior Tree)实现,用于构建可组合、可测试的异步控制流逻辑。核心特点包括:无状态节点设计、三值返回协议(Success/Running/Failure)、原生集成 Go context 实现取消与超时、支持注入时钟的确定性时间旅行测试。提供 Selector、Sequence、Inverter、Timeout、Sleep 等基础节点,适用于后台任务调度、游戏 AI 决策、自动化工作流编排等需协作式异步执行的场景。

Go
101
Stars
5
Forks
102
Watchers
1
Issues

Star 增长

今日0
近 7 天0
近 30 天0
综合评分39.33
默认分支main