The athlos package helps model multiplayer online games (and backends) by defining a data model and various behaviors and tools.

Important

The package is currently under development. Source code and documentation are not yet available. For questions, requests, or issues, please contact raylabzg@gmail.com

Indicative Features

  • Game state definition
  • Server creation
  • Online state sync (multiple methods)
  • Data persistence
  • Matchmaking, Lobbies & Host management
  • Achievements
  • Leaderboards
  • Player profiles, friend system, game invites
  • Action logging
  • Chat & Presence
  • Different types of games (turn-based, casual real-time, board games, puzzles, etc.)

Gateway / Relay Baseline

Athlos now includes a baseline gateway routing layer:

  • client -> gateway -> game server
  • Authentication via pluggable GatewayAuthenticator
  • Matchmaking via pluggable GatewayMatchmaker
  • Load balancing via pluggable GatewayLoadBalancer
  • Session routing via GatewaySessionRouter
  • Basic DDoS/rate limiting via GatewayDdosGuard

The gateway can be exposed over TCP (GatewayTcpServer) and UDP (GatewayUdpServer), and returns backend route information + session IDs to clients.

Libraries

athlos