Skip to content

Overview and glossary

A Toto game is content in a repository. Players play a story of that repository in a session.

Repository
├── Stories ──────── graph of challenges, + associated coins
│ └── Challenges ─ graph of elements
│ └── Elements Task | Info | Choice | Dynamic | Coin
├── Areas polygons on a map (geofences, play areas)
├── Variables game state: per session, per player account or per repository
├── Files images, audio, video, documents
└── TotoObjects internet connected devices triggered by game events

Stories, challenges and elements are created independently and connected through graphs: a challenge graph connects elements, a story graph connects challenges. The same element can be used in several challenges and the same challenge in several stories.

Term Meaning
Repository Container for all content of a game project. Accounts get a role per repository. See Repositories and roles.
Story A playable game: a graph of challenges, the languages, a play area, coins. See Stories, challenges and elements.
Challenge A section of a story (a place, a chapter): a graph of elements.
Element The smallest unit a player interacts with. Types: Task, Info, Choice, Dynamic, Coin. See Element types.
Solution How a task is solved: QR code / secret, multiple choice, free text, user input (photo/text), geofence, AR marker, skip. See Solutions.
Trigger Runs scripts and controls TotoObjects when something happens in a session, e.g. a task is solved. See Triggers.
Variable Named game state (number, string, boolean) with a scope: session, account or repository. See Variables and scripts.
Area A polygon on the map, used for geofence solutions and as play area. See Areas and locations.
File An uploaded image, video, audio or document with an access level. See Files.
TotoObject An internet connected device (display, lock, light …) that receives payloads from triggers. See TotoObjects.
Voucher A ticket that starts a session of a story.
Session One play-through of a story by a player or a team. See Sessions and playing.
Session element The instance of an element in a session: released at, processed at, attempts, score.
Release An element becomes visible and playable for the player in a session.
Process A released element is done: a task is solved or skipped, an info acknowledged, a choice made.
  1. A player starts a session with a voucher.
  2. The start elements of the first challenge are released.
  3. When the player processes an element, its successors in the challenge graph are released.
  4. When an element marked as finished on is processed, the challenge is finished and the next challenges in the story graph start.
  5. On each of these events triggers run: scripts change variables, payloads are sent to TotoObjects.
  6. The session ends when the player ends it; it is Finished if the last challenge was completed.