# Bound Witness Tree: Real-World Examples

### R**eal-World Gaming Platform**

Imagine a **real-world gaming platform** built on XYO where players collect virtual treasure and complete missions. Every player action generates data that must be validated. Instead of verifying each action individually, XYO uses Bound Witness Trees to verify all actions in a batch—just by validating the root of the tree.

Inside each Bound Witness Tree is a number of other Bound Witnesses. The following chart outlines what that could look like, in gaming terms.

{% @mermaid/diagram content="%%{init: {
"theme": "default",
"themeVariables": {
"fontSize": "12px"
},
"flowchart": { "useMaxWidth": false,\
"useMaxWidth": false,
"nodeSpacing": 20,
"rankSpacing": 15,
"padding": 5,
"curve": "linear" }
}}%%
graph TB
DailyCooking\[Daily<br> 🍳 Cooking Quest] --> DailyQuests
DailyFishing\[Daily<br> 🎣 Fishing Quest] --> DailyQuests
DailyMining\[Daily<br> ⛏️ Mining Quest ] --> DailyQuests

GuildStatus\[Guild Status:<br> 👥 In Guild] --> PlayerData
PlayerHairstyle\[Hairstyle:<br> 💈 Braids] --> CharacterData
PlayerHairColor\[Hair Color:<br> 🩷 Pink] --> CharacterData
PlayerEyeColor\[Eye Color:<br> 💜 Purple] --> CharacterData

CharacterData@{shape: flip-tri, label: "Bound Witness: <br>Character Data"} --> PlayerData
Username\[Username: <br> @pedestrian] --> PlayerData

DailyQuests@{shape: flip-tri, label: "Bound Witness: <br>Daily Quests"} --> FinalBW@{shape: flip-tri, label: "Final Bound Witness<br> For XYO Layer One"}
PlayerData@{shape: flip-tri, label: "Bound Witness: <br>Player Data"} --> FinalBW

%% Define yellow style for Bound Witnesses
classDef bwYellow fill:#fff176,stroke:#fbc02d,stroke-width:2px,color:#000;

%% Apply yellow style to Bound Witness nodes
class CharacterData,DailyQuests,FinalBW,PlayerData bwYellow;" %}

This ensures accurate, efficient validation without bogging down the network, even as the game scales to thousands of players.
