Part
Blackboard
You might say: shared knowledge store, fact store, AI memory board
A named store of facts that sensors, decision code and cooperating agents can read and write.
- What it does
- Separates the evidence from the behaviours that use it, so several branches can share the same current facts.
- Ask
- Which facts are authoritative, who may write them, and which decisions react when they change?
- Trouble
- Branches disagree about the same fact, stale keys never clear, or any writer can silently corrupt a decision.
What to look for
- Named keys for targets, locations, booleans and numbers
- Several behaviour branches reading the same target key
- A debugger showing key values changing during play
Sources
- Epic Games, Behavior Trees in Unreal Engine, Behavior Trees
The Blackboard contains several user-defined Keys that hold information used by the Behavior Tree to make decisions.
- Epic Games, Behavior Trees in Unreal Engine, Behavior Trees
the Behavior Tree relies on another asset called a Blackboard which serves as the "brain" for a Behavior Tree
- David M. Bourg and Glenn Seemann, AI for Game Developers, Book excerpt, Fighting Game Strike Prediction, Working Memory
We can add more facts or assertions to the working memory if desired.
Use it on your project
teardown-apply: hold "Blackboard" (blackboard) from the teardown at https://teardownatlas.com/game-ai/ against my project
Paste it into a coding agent that has the teardown skills.
An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal