How enkh-ebash/-mlbb_alpha works
mlbb_play is a FACEIT-style competitive platform for Mobile Legends: Bang Bang. Players register or log in, join an Elo-aware matchmaking queue, get paired into a match, submit results, and—if approved—have ratings updated. Moderators can review disputed results. The README also documents profile/leaderboard, hero, team, tournament, news, and notification capabilities; several services are explicitly skeletons. Inter-service matchmaking, match creation, and Elo updates are documented, but unsampled wiring for other capabilities is not inferred.
Main entry points: api.ts API Client · elo.controller.ts Elo Result API · auth.controller.ts Accounts & Profiles · matchmaking.controller.ts Queue Management
Components 25
Player Web App
- Web Pages
web/app - API Client
web/lib/api.ts
Identity & Profiles
- Auth Routes
services/auth-service/src/routes/auth.routes.ts - Accounts & Profiles
services/auth-service/src/controllers/auth.controller.ts - Auth Store
services/auth-service/src/config/db.ts - Internal User API
services/auth-service/src/routes/internal.routes.ts
Match Competition
- Queue Routes
services/matchmaking-service/src/routes/matchmaking.routes.ts - Queue Management
services/matchmaking-service/src/controllers/matchmaking.controller.ts - Pairing Job
services/matchmaking-service/src/jobs/matching.job.ts - Match Client
services/matchmaking-service/src/services/match-client.ts - Match Routes
services/match-service/src/routes/match.routes.ts - Match & Review
services/match-service/src/controllers/match.controller.ts - Match Store
services/match-service/src/config/db.ts - Elo Client
services/match-service/src/services/elo-client.ts
Ratings
- Elo Result API
services/elo-service/src/controllers/elo.controller.ts - Elo Calculation
services/elo-service/src/services/elo-math.ts - Rating Store
services/elo-service/src/config/db.ts - Auth Elo Client
services/elo-service/src/services/auth-client.ts
Platform Extensions
- Hero Catalog
services/hero-service/src/controllers/hero.controller.ts - Team Management
services/team-service/src/controllers/team.controller.ts - Tournaments
services/tournament-service/src/index.ts - News
services/news-service/src/index.ts - Notifications & Chat
services/notification-service/src/index.ts
Other components
- Player
- Auth Service
Connections 26
- Player → Web Pages: uses
- Web Pages → API Client: API requests
- API Client → Auth Routes: auth calls
- API Client → Queue Routes: queue calls
- API Client → Match Routes: match calls
- API Client → Team Management: team requests
- API Client → Hero Catalog: hero requests
- API Client → Tournaments: tournament requests
- API Client → News: news requests
- Auth Routes → Accounts & Profiles: dispatches
- Accounts & Profiles → Auth Store: reads/writes
- Accounts & Profiles → Player: returns token/profile
- Queue Routes → Queue Management: dispatches
- Queue Management → Auth Service: fetches player MMR
- Queue Management → Pairing Job: queues players
- Pairing Job → Match Client: requests match creation
- Match Client → Match Routes: creates match
- Match Routes → Match & Review: dispatches
- Match & Review → Match Store: reads/writes
- Match & Review → Elo Client: sends approved result
- Elo Client → Elo Result API: applies result
- Elo Result API → Elo Calculation: calculates rating change
- Elo Result API → Rating Store: reads/writes history & baseline
- Elo Result API → Auth Elo Client: gets/sets player Elo
- Auth Elo Client → Internal User API: reads/writes Elo
- Internal User API → Accounts & Profiles: dispatches