Hi everybody , I've created a 4 player card game (to become it an online game) with re-frame , and now I'm looking for how to build the live experience for the players. Any suggestions to use in re-frame ?
What do you mean by "live experience for the players"?
I suppose online experience is better to say ...
@epidiah might be working on things like that
@domingues That's still very vague. If you mean real-time synchronization, I just use Sente and send out events to all the relevant clients when the data changes.
In my apps, I also don't even attempt to deal with all the distributed issues and just work with "the last write wins".
Yes , real-time sync . Thanks !
I haven't built one in years but I've built a multiplayer card games using re-frame and used Firebase to do the persistence and sync between different web browser clients. • https://jakemccrary.com/blog/2018/02/20/creating-serverless-applications-with-clojurescript-and-firebase/ from IN/Clojure 2018 • Former coworker's blog post about http://timothypratley.blogspot.com/2016/07/reacting-to-changes-with-firebase-and.html with clojurescript No idea the current status of firebase or competitors but it would still be my goto for knocking out small clojurescript apps that need some persistence or communication between clients if I wasn't trying to host my own backend service.
@domingues this is the right stuff you should use https://github.com/hyperfiddle/electric