peterszerzo / elm-gameroom

🏓 Framework for custom multiplayer games
http://package.elm-lang.org/packages/peterszerzo/elm-gameroom/latest
MIT License
15 stars 1 forks source link

Splitting out the game's logic from the communication #3

Open SohumB opened 7 years ago

SohumB commented 7 years ago

Hey there! This is a really cool project :)

How easy would it be to split out the specifics of the game logic (the guessing game, round timing, etc) from the backend communication? Is it as simple as grabbing the js directory and... what, probably some version of Subscription.elm and the decoders/encoders?

peterszerzo commented 6 years ago

Hi @SohumB - so sorry I missed this. Yes, it does make sense to introduce a clearer separation there, and make the back-end stuff easier to use. Truth be told, I have not been involved in this project that much these days, but I've been planning to pick it up after 0.19 lands.

I'll be sure to update you in this discussion. Thank you for your interest!