PS
psenger/massive-multiplayer-arena
Real-time multiplayer battle arena game engine with dynamic matchmaking and spectator mode
Massive Multiplayer Arena
A real-time multiplayer battle arena game engine built with Elixir/Phoenix, featuring dynamic matchmaking, live spectator mode, and scalable combat systems.
Features
- Real-time combat with collision detection and physics
- Dynamic matchmaking based on skill rating and latency
- Live spectator mode with replay system and broadcast streaming
- Tournament support and player progression systems
Installation
-
Install Elixir and Phoenix:
# Install Elixir (requires Erlang) brew install elixir # macOS # or follow official installation guide
-
Install dependencies:
mix deps.get
-
Set up the database:
mix ecto.setup
Usage
Start the Phoenix server:
mix phx.serverThe game engine will be available at http://localhost:4000
Development
Run tests:
mix testStart interactive shell:
iex -S mix phx.serverArchitecture
- Game Engine: GenServer-based game state management
- Matchmaking: ETS-backed skill rating system
- Real-time Communication: Phoenix Channels with WebSocket transport
- Spectator System: Live broadcasting with replay capabilities
License
MIT License