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

  1. Named keys for targets, locations, booleans and numbers
  2. Several behaviour branches reading the same target key
  3. A debugger showing key values changing during play

Sources

  1. Epic Games, Behavior Trees in Unreal Engine, Behavior TreesThe Blackboard contains several user-defined Keys that hold information used by the Behavior Tree to make decisions.
  2. Epic Games, Behavior Trees in Unreal Engine, Behavior Treesthe Behavior Tree relies on another asset called a Blackboard which serves as the "brain" for a Behavior Tree
  3. David M. Bourg and Glenn Seemann, AI for Game Developers, Book excerpt, Fighting Game Strike Prediction, Working MemoryWe 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