pgrosslicht / mtg-emblems

https://pgrosslicht.github.io/mtg-emblems/
1 stars 0 forks source link

Make "online multiplayer" version #8

Closed pgrosslicht closed 9 years ago

pgrosslicht commented 9 years ago

Basically, I want to be able to give people an URL to be able to watch all the emblems as they are getting played. That way there is no needed trust when you play for example over Cockatrice.

I'm however unsure how to do it. Should everyone be able to play Emblems, or should one person be the host while the others only can watch.

If everybody can play emblems, there is the problem of emblem pool synchronisation, I might have to introduce IDs to the emblems and rewrite the emblem picking, which would probably be a good idea anyway. The code is quite messy...

FM-96 commented 9 years ago

Introducing IDs would make adding new emblems more complicated though, wouldn't it?

pgrosslicht commented 9 years ago

Well, you copy the last emblem, increment the ID and change the rest to make a new emblem, not that hard.

However, if we had like a host/watcher-situation, that would probably be not needed.

FM-96 commented 9 years ago

Host/Watcher seems sufficient.

pgrosslicht commented 9 years ago

Closed in b8a3fa7