GitHunt
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

  1. Install Elixir and Phoenix:

    # Install Elixir (requires Erlang)
    brew install elixir  # macOS
    # or follow official installation guide
  2. Install dependencies:

    mix deps.get
  3. Set up the database:

    mix ecto.setup

Usage

Start the Phoenix server:

mix phx.server

The game engine will be available at http://localhost:4000

Development

Run tests:

mix test

Start interactive shell:

iex -S mix phx.server

Architecture

  • 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

Languages

Elixir100.0%

Contributors

Created December 3, 2025
Updated December 3, 2025