/moba

A turn-based browser RPG built with Phoenix LiveView

Primary LanguageElixir

MOBA - Multiplayer Online Battle Arena

Test Suite Discord

A turn-based RPG built with Phoenix LiveView, online since 2020.

Features

  • Choose from a roster of 20 avatars, 20+ abilities and 25+ items to train your custom hero
  • Battle your way through 7 leagues and a boss fight to compete for the fastest game completion time
  • Master all playstyles with full account level progression to compete in a season leaderboard
  • Competitive PvP mode featuring 5v5 team battles with skill brackets and 1v1 real-time duels

Requirements

  • PostgreSQL 15
  • Elixir 1.16.2
  • Erlang 26.2.4
  • node.js 20.14.0

Setup

  • Install dependencies with mix deps.get
  • Create, migrate and seed your database with mix ecto.setup
  • Install asset dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server (in project root)

Now you can visit localhost:4000 from your browser. You can login with the seeded admin account: admin@browsermoba.com 123456

Running tests

The tests need the seeds file to be run on the test database.

MIX_ENV=test mix ecto.setup
mix test