# Turny.gg Docs > Documentation for Turny.gg: custom rulesets, calculators, card search, tournaments and the deck builder. Turny.gg is a multi-game tournament platform. These docs cover its programmable features: custom ruleset scripts, calculator scripts and the sandbox they run in, the card data those scripts read for each game, the card search syntax, how tournaments are paired and ranked, and the deck builder. Reference pages are generated from the code that runs the site. Every page is available as markdown by adding `.md` to its URL (`/guide/` is `/guide/index.md`). All pages in one file: https://docs.turny.gg/llms-full.txt ## Guide - [Guides](https://docs.turny.gg/guide/index.md): Step-by-step guides for Turny.gg's custom rulesets, calculators, tournaments and deck builder. - [Custom rulesets](https://docs.turny.gg/guide/rulesets.md): Write a custom ruleset: card, deck and deck set rules in JavaScript, from a first ban list to pool filters, sharing and troubleshooting. - [Calculators](https://docs.turny.gg/guide/calculators.md): Build deck calculators with the no-code builder or a compute script, and share them. - [Tournaments](https://docs.turny.gg/guide/tournaments.md): How Turny.gg runs tournaments: the formats each game offers, multi-stage events and top cuts, Swiss pairings, byes, late entry, tiebreakers and free-for-all scoring. - [Deck builder](https://docs.turny.gg/guide/deck-builder.md): Import and export decks in every format the deck builder reads, organize them into piles and templates, and read its validation messages. ## Reference - [Reference](https://docs.turny.gg/reference/index.md): Generated reference for Turny.gg scripting, card data and card search, kept in sync with the code that runs the site. - [Ruleset script API](https://docs.turny.gg/reference/scripting/rulesets.md): Reference for custom ruleset scripts: entry points, arguments, context and return values. - [Script sandbox](https://docs.turny.gg/reference/scripting/sandbox.md): What custom scripts can and cannot do: the sandbox, its limits and the static safety checks. - [Calculator script API](https://docs.turny.gg/reference/scripting/calculators.md): Reference for calculator compute scripts: arguments, every dashboard widget they can return, output limits, and the default calculators as examples. - [Legends of Runeterra card data](https://docs.turny.gg/reference/card-data/lor.md): Every field a script can read on a Legends of Runeterra card and in its game globals. - [Pokémon TCG card data](https://docs.turny.gg/reference/card-data/pokemon.md): Every field a script can read on a Pokémon TCG card and in its game globals. - [Riftbound card data](https://docs.turny.gg/reference/card-data/riftbound.md): Every field a script can read on a Riftbound card and in its game globals. - [Legends of Runeterra card search](https://docs.turny.gg/reference/search/lor.md): Card search syntax for Legends of Runeterra: every field, is: shortcut and operator, with example queries. - [Pokémon TCG card search](https://docs.turny.gg/reference/search/pokemon.md): Card search syntax for the Pokémon TCG: every field, is: shortcut and operator, attack costs with energy symbols, and example queries. - [Riftbound card search](https://docs.turny.gg/reference/search/riftbound.md): Card search syntax for Riftbound: every field, is: shortcut and operator, with example queries.