Vortex Pub Sub contains all the game related APIs, it also contains all the WS realtime interface to enable realtime event passing between all participants (including all players and spectators).
Architecture Design (Lucid Chart)
| Codebase | Description |
|---|---|
| Vortex | Contains Axum APIs for Auth and other services for necessary processing |
| Vortex-Client | Tauri Client Used to Play/Join Games as Players or specate any games |
| Vortex-Mobile | React Native App to scan QR codes and stake in the game and check status of any previous bets |
| Vortex-Pub-Sub | Elixir Service to broadcast realtime events to players and spectators |
| Vortex-Exchange | Smart Contracts made using Anchor framework so that players/spectators can place their bets |
| Executor-Bots | Bots which consume game result events and settle bets for the players |
| Vortex-Matchmaker | Matchmaking Service which matches any two players with similar ratings |