How xlaugh/open-eleven works
Open Eleven is a browser-based football career game. Players create a footballer, progress through choice-driven seasons and decisive match moments, then build a legacy; daily challenges and duels add competitive modes. The browser game separates interface, simulation rules, and game content, while optional cloud features support accounts and server-verified scores. The graph reflects documented calls and data relationships; some README-described capabilities have no sampled implementation links, so those connections are left out rather than inferred.
Main entry points: data.js Countries and career data · submit-daily/index.ts Daily challenge scoring · submit-duel/index.ts Duel scoring · game.js Game interface
Components 14
Career gameplay
- Game interface
game.js - Career simulation
engine.js - Match moments
data-moments.js - Localization
i18n.js
Game content
- Career events
data-events.js - Countries and career data
data.js - Club pyramid
data-clubs.js
Online features
- Account and progression
account.js - Daily challenge scoring
supabase/functions/submit-daily/index.ts - Duel scoring
supabase/functions/submit-duel/index.ts - Rooms
room.js
Shared services
- Shared score engine
supabase/functions/_shared/game-engine.ts
Other components
- Player
- Supabase
Connections 10
- Player → Game interface: plays
README.md - Game interface → Career simulation: uses
engine.js - Countries and career data → Club pyramid: loads
data.js - Countries and career data → Career events: loads
data.js - Countries and career data → Match moments: loads
data.js - Daily challenge scoring → Shared score engine: loads and scores
supabase/functions/submit-daily/index.ts - Duel scoring → Shared score engine: loads and scores
supabase/functions/submit-duel/index.ts - Daily challenge scoring → Supabase: stores scores
supabase/functions/submit-daily/index.ts - Duel scoring → Supabase: stores duels
supabase/functions/submit-duel/index.ts - Account and progression → Supabase: syncs progress
README.md