# 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, playtest, tournaments, series, communities 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. - [Playtest](https://docs.turny.gg/guide/playtest.md): Goldfish a deck on a virtual table, solo or against a mirrored opponent, and write, share and fix the playtest rules scripts that set the table up. - [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, CSV exports, free-for-all scoring, Riftbound multi-deck lineups, waitlists, your personal calendar, recurring events, venue addresses and map pins, the TV display, printing round sheets, announcements, and judges, penalties and deck checks. - [Series](https://docs.turny.gg/guide/series.md): How Turny.gg series work: seasons, stops and divisions, how season points and best-N counting add up, ties and qualifying spots, where series show up, and how organizers run one. - [Communities](https://docs.turny.gg/guide/communities.md): How Turny.gg communities work: one page for a store, play group or team, the Owner, Admin and Host roles, inviting your staff, hosting tournaments and series under the community's name, and changing or deleting it. - [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. - [Playtest rules script API](https://docs.turny.gg/reference/scripting/playtest.md): Reference for playtest rules scripts: the arguments, the table definition they return, every step, predicate and enum, the shortcut grammar, limits and validation issue codes. - [Cyberpunk TCG card data](https://docs.turny.gg/reference/card-data/cyberpunk.md): Every field a script can read on a Cyberpunk TCG card and in its game globals. - [Flesh and Blood card data](https://docs.turny.gg/reference/card-data/fab.md): Every field a script can read on a Flesh and Blood card and in its game globals. - [Hearthstone card data](https://docs.turny.gg/reference/card-data/hs.md): Every field a script can read on a Hearthstone card and in its game globals. - [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. - [Magic: The Gathering card data](https://docs.turny.gg/reference/card-data/mtg.md): Every field a script can read on a Magic: The Gathering card and in its game globals. - [Palworld TCG card data](https://docs.turny.gg/reference/card-data/palworld.md): Every field a script can read on a Palworld TCG 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. - [Teamfight Tactics card data](https://docs.turny.gg/reference/card-data/tft.md): Every field on a Teamfight Tactics champion in the card catalog and in its globals, plus the team code formats. - [Cyberpunk TCG card search](https://docs.turny.gg/reference/search/cyberpunk.md): Card search syntax for Cyberpunk TCG: every field, is: shortcut and operator, with example queries. - [Flesh and Blood card search](https://docs.turny.gg/reference/search/fab.md): Card search syntax for Flesh and Blood: every field, is: shortcut and operator, with example queries. - [Hearthstone card search](https://docs.turny.gg/reference/search/hs.md): Card search syntax for Hearthstone: every field, is: shortcut and operator, with example queries. - [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. - [Magic: The Gathering card search](https://docs.turny.gg/reference/search/mtg.md): Card search syntax for Magic: The Gathering: every field, is: shortcut and operator, colors and mana costs as symbols, and example queries. - [Palworld TCG card search](https://docs.turny.gg/reference/search/palworld.md): Card search syntax for Palworld TCG: 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. - [Teamfight Tactics card search](https://docs.turny.gg/reference/search/tft.md): Champion search syntax for Teamfight Tactics: every field, is: shortcut and operator, with example queries.