Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.15 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.15 KB

Heroes Board Game

Website

It is a very simple web game consisting on a 2D grid board with heroes and basic gameplay mechanics.

Players can move heroes across the board except on walls. The goal is to kill other players casting invisible attacks.

There's an instance of the game deployed on Gigalixir.

Game mechanics

  • When player joins a hero is spawned on a random walkable tile
  • Arrow keys control movements and space bar attacks
  • Each attack spreads within a radius of 1 tile around the hero
  • All enemies in range are attacked at the same time
  • One hit is enough to kill

Where is the focus …

  • As much vanilla Elixir as possible
  • Software architecture, separation of concerns, readable and testable code
  • Production-ready code
  • OTP facilities (GenServers, Supervisors) and message passing
  • Enough tests for the business logic

… and where is NOT

  • Frontend code
  • GUI and interactions
  • Libraries (except for the web part)