How alimfeld/tournicano works
Tournicano is a browser app for organizing doubles tournaments across formats such as Americano and Mexicano. A user manages players and groups, configures matching, creates rounds, records scores, and reviews standings; tournament state and settings persist locally. The graph includes the matching and tournament domain layers and the documented app pages. Evidence is limited to the README, source index, and excerpts provided; unsampled relationships are omitted where the caller is unclear.
Main entry points: Tournament.impl.ts Tournament model · Matching.ts Matching orchestration · App.ts App state · PlayersPage.ts Players page
Components 29
App shell
- App state
src/App.ts - Layout and navigation
src/Layout.ts - Avatar cache
src/views/AvatarCache.ts - Page header
src/views/Header.ts - Help card
src/views/HelpCard.ts - Modal component
src/views/Modal.ts - Group symbol
src/views/GroupSymbol.ts
Tournament UI
- Players page
src/views/PlayersPage.ts - Round page
src/views/RoundPage.ts - Standings page
src/views/StandingsPage.ts - Settings page
src/views/SettingsPage.ts
Tournament domain
- Tournament model
src/model/tournament/Tournament.impl.ts - Player state
src/model/tournament/Players.impl.ts - Round and scores
src/model/tournament/Rounds.impl.ts - Domain context
src/model/tournament/Context.ts - Tournament import
src/model/tournament/Import.ts - Tournament export
src/model/tournament/Export.ts - Tournament serialization
src/model/tournament/Serialization.ts - Tournament contracts
src/model/tournament/Tournament.ts - Settings model
src/model/settings/Settings.impl.ts - Settings contract
src/model/settings/Settings.ts - Mutable state support
src/model/core/Mutable.ts
Matching engine
- Matching orchestration
src/model/matching/Matching.ts - Format specifications
src/model/matching/MatchingSpec.ts - Player partitioning
src/model/matching/Partitioning.ts - Matching weights
src/model/matching/WeightFunctions.ts - Maximum matching
src/model/matching/MaximumMatching.ts
Other components
- Tournament organizer
- Browser storage
Connections 39
- Tournament organizer → Layout and navigation: uses
- Layout and navigation → App state: creates
src/Layout.ts - App state → Tournament model: creates
src/App.ts - App state → Settings model: creates
src/App.ts - App state → Browser storage: loads and saves
src/App.ts - Layout and navigation → Modal component: renders
src/Layout.ts - Players page → Tournament model: uses
src/views/PlayersPage.ts - Round page → Tournament model: uses
src/views/RoundPage.ts - Standings page → Tournament model: uses
src/views/StandingsPage.ts - Settings page → Settings model: uses
src/views/SettingsPage.ts - Settings page → Format specifications: configures
src/views/SettingsPage.ts - Tournament model → Player partitioning: partitions players
src/model/tournament/Tournament.impl.ts - Tournament model → Player state: uses
src/model/tournament/Tournament.impl.ts - Tournament model → Round and scores: uses
src/model/tournament/Tournament.impl.ts - Tournament model → Tournament serialization: serializes
src/model/tournament/Tournament.impl.ts - Tournament model → Tournament import: imports data
src/model/tournament/Tournament.impl.ts - Tournament model → Tournament export: exports data
src/model/tournament/Tournament.impl.ts - Player state → Domain context: uses
src/model/tournament/Players.impl.ts - Round and scores → Domain context: uses
src/model/tournament/Rounds.impl.ts - Settings model → Settings contract: implements
src/model/settings/Settings.impl.ts - Settings model → Mutable state support: uses
src/model/settings/Settings.impl.ts - Matching orchestration → Format specifications: uses
src/model/matching/Matching.ts - Matching orchestration → Player partitioning: uses
src/model/matching/Matching.ts - Matching orchestration → Matching weights: uses
src/model/matching/Matching.ts - Matching orchestration → Maximum matching: uses
src/model/matching/Matching.ts - Player partitioning → Matching orchestration: uses types
src/model/matching/Partitioning.ts - Player partitioning → Format specifications: uses
src/model/matching/Partitioning.ts - Matching weights → Matching orchestration: uses types
src/model/matching/WeightFunctions.ts - Matching weights → Format specifications: uses
src/model/matching/WeightFunctions.ts - App state → Avatar cache: sets avatar spec
src/App.ts - Players page → Page header: renders
src/views/PlayersPage.ts - Round page → Page header: renders
src/views/RoundPage.ts - Standings page → Page header: renders
src/views/StandingsPage.ts - Settings page → Page header: renders
src/views/SettingsPage.ts - Players page → Group symbol: renders
src/views/PlayersPage.ts - Standings page → Group symbol: renders
src/views/StandingsPage.ts - Round page → Help card: renders
src/views/RoundPage.ts - Players page → Help card: renders
src/views/PlayersPage.ts - Standings page → Help card: renders
src/views/StandingsPage.ts