# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xyo.network/xyo-layer-one/xyo-layer-one-features/rollups/bound-witness-trees/bound-witness-tree-real-world-examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
