# tanktroubleonlinecompetition/ttoc architecture

> Architecture diagram of the GitHub repository tanktroubleonlinecompetition/ttoc, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tanktroubleonlinecompetition/ttoc
- Repository: https://github.com/tanktroubleonlinecompetition/ttoc

## Overview

TTOC is a static public website for a TankTrouble competition. Its pages cover competition information and rules, participation, game modes, and results, alongside standalone time utilities. The tree identifies these product areas, but the sampled source only shows small DOM-updating scripts; HTML navigation and script inclusion were not inspected, so no page-to-page or script-to-page wiring is asserted.

Main entry points: [`index.html`](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/index.html) (Competition home)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_competition["Competition information"]
  node_about["About<br/>[index.html]"]
  node_insights["Insights<br/>[index.html]"]
  node_gamemodes["Game modes<br/>[index.html]"]
  node_community_modes["Community modes<br/>[index.html]"]
  node_gamerules["Game rules<br/>[gamerules.html]"]
  node_standards["Standards<br/>[index.html]"]
end

subgraph group_participation["Competition participation"]
  node_signup["Sign up<br/>[signup.html]"]
  node_elite["Elite competition<br/>[index.html]"]
  node_results["Results<br/>[index.html]"]
  node_data_output["Data output<br/>[index.html]"]
end

subgraph group_utilities["Time utilities"]
  node_time_page["Time page<br/>[time.html]"]
  node_timezone_converter["Timezone converter<br/>[index.html]"]
  node_time_script["Clock updates<br/>[time.js]"]
end

subgraph group_site["Site presentation"]
  node_home["Competition home<br/>[index.html]"]
  node_dynamic_constants["Dynamic site text<br/>[constants.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home

click node_home "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/index.html"
click node_about "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/about/index.html"
click node_insights "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/insights/index.html"
click node_gamemodes "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/gamemodes/index.html"
click node_community_modes "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/gamemodes/community/index.html"
click node_gamerules "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/gamerules.html"
click node_standards "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/standards/index.html"
click node_signup "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/signup.html"
click node_elite "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/elite/index.html"
click node_results "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/results/index.html"
click node_data_output "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/data-output/index.html"
click node_time_page "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/time.html"
click node_timezone_converter "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/tzconverter/index.html"
click node_dynamic_constants "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/js/dynamic/constants.js"
click node_time_script "https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/js/time.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_about,node_insights,node_gamemodes,node_community_modes,node_gamerules,node_standards toneBlue
class node_signup,node_elite,node_results,node_data_output toneAmber
class node_time_page,node_timezone_converter,node_time_script toneMint
class node_home,node_dynamic_constants toneRose
class node_visitor toneIndigo
```

## Components

### Competition information

- [About](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/about/index.html): `about/index.html`
- [Insights](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/insights/index.html): `insights/index.html`
- [Game modes](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/gamemodes/index.html): `gamemodes/index.html`
- [Community modes](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/gamemodes/community/index.html): `gamemodes/community/index.html`
- [Game rules](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/gamerules.html): `gamerules.html`
- [Standards](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/standards/index.html): `standards/index.html`

### Competition participation

- [Sign up](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/signup.html): `signup.html`
- [Elite competition](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/elite/index.html): `elite/index.html`
- [Results](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/results/index.html): `results/index.html`
- [Data output](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/data-output/index.html): `data-output/index.html`

### Time utilities

- [Time page](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/time.html): `time.html`
- [Timezone converter](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/tzconverter/index.html): `tzconverter/index.html`
- [Clock updates](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/js/time.js): `js/time.js`

### Site presentation

- [Competition home](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/index.html): `index.html`
- [Dynamic site text](https://github.com/tanktroubleonlinecompetition/ttoc/blob/master/js/dynamic/constants.js): `js/dynamic/constants.js`

### Other components

- **Visitor**

## Connections

- Visitor → Competition home: opens
