stefankreitmayer / elm-joust

Action game for two players - written in Elm
43 stars 13 forks source link

Remote play #4

Open stefankreitmayer opened 7 years ago

stefankreitmayer commented 7 years ago

Would you enjoy playing this game over the web / with someone on another machine?

If so, which techniques and technologies would you recommend to implement low-latency synchronization?

tizpuppi commented 7 years ago

Hi Stefan,

Definitively yes! Technology wise I would write the backend using Elixir (I saw that you have some repository written in this language, and more over Elixir/Phoenix seems to be the preferred framework used by evancz). About low latency sync, I can think of data sent using websockets (channels in Phoenix) since the game runs in the web browser.

What do you think?

stefankreitmayer commented 7 years ago

I agree Phoenix and websockets would seem a promising option.

stefankreitmayer commented 5 years ago

Hey, it looks like a lot has happened in the area of game servers that use Websockets. I found this forum thread that mentions a number of JavaScript-based solutions. Any experiences anyone?