Skip to content

alexdunne/geo_pong

Repository files navigation

GeoPong

GeoPong is a multiplayer implementation of Pong written in Elixir, Phoenix and Preact.

This is a demo project to experiment with Elixir and OTP. The architecture of the project is based on findings from the amazing book Elixir in Action and supplementary articles such as OTP as the Core of Your Application Part 2.

How to Play

  1. Head over to https://pong.alexdunne.net/
  2. Create a new game
  3. On two separate devices (or browser windows) join the game
  4. Play Pong

Gameplay example

Development

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more