SirajKakeh / Elixir-Real-Time-Game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elixir React Real-Time Game

A real-time game built with Elixir/React

installation

  • cd server && mix deps.get
  • iex -S mix phx.server
  • Inside the iex shell enter Game.GameSupervisor.start_child("0"). This will create a game with ID: 0
  • cd ../client && npm i
  • npm start
  • Open game client on localhost:3000
  • New players can join by opening localhost:3000 from an Incognito window and game can be played in real time on the two pages

About


Languages

Language:Elixir 56.5%Language:CSS 23.3%Language:JavaScript 15.3%Language:HTML 3.6%Language:SCSS 1.3%