Data-driven content

Keeping the things in a game (items, enemies, waves, quests) as rows of data that code reads, instead of writing each one into code.

Think of it as A menu board the manager can edit, served by a kitchen that knows the techniques.

Code handles each kind of row (an upgrade, a consumable, a pass); data lists the rows. A new row of a known kind needs no code. Data needs a validator that checks every field and link, run in CI, and code that names rows benefits from types generated from the data.

Official reference: rojo.space

Related terms