Local-first peer-to-peer GNOME people… if I wanted to make a GNOME app similar to those party games where you enter a code and then all join one host's game, then compete for trivia questions or something, is that relatively straightforward to do with our current tech stack? What would I use to do that?
I'm tempted to make a FOSS Kahoot-alike game in Godot, but it could be fun as a GNOME app, instead.
[#]GNOME #gamedev #Godot #GodotEngine
=> More informations about this toot | More toots from cassidy@blaede.family
@cassidy Multiplex uses WebRTC to do that through weron (https://github.com/pojntfx/weron) and panrpc (https://github.com/pojntfx/panrpc) :) Might be a pretty good getting started point
=> More informations about this toot | More toots from pojntfx@mastodon.social
@cassidy@mastodon.blaede.family the is a huge need for a pretty, satisfying FOSS kahoot experience. i think you can absolutely do that. your app can be run in a browser and everything including the room code connecting can be happening server-side
=> More informations about this toot | More toots from Stellar@mk.absturztau.be
@Stellar I'm more interested in exploring the space with a local app than a browser experience, though. I feel like it could be more integrated and just nicer to use over all. There are plenty of existing browser-based trivia things out there. :)
=> More informations about this toot | More toots from cassidy@blaede.family
@cassidy@mastodon.blaede.family the app can be a disguised web browser and server, like most apps today are disguised web bowsers (discord, WPAs, atom, steam, etc)
=> More informations about this toot | More toots from Stellar@mk.absturztau.be
@Stellar @cassidy I think @adhami already built one with https://fuiz.us/ :)
=> More informations about this toot | More toots from FineFindus@floss.social
@FineFindus@floss.social @cassidy@mastodon.blaede.family @adhami@fosstodon.org i looked hard for a kahoot alternative i never seen this!
=> More informations about this toot | More toots from Stellar@mk.absturztau.be
@cassidy I would be interested in learning about this too! I had an idea during pandemic times for an app to keep track of a headcount for customers in retail stores That could sync between devices for multiple doors.
might not be as useful as it was a few years ago, but I'd still like to learn! Lol
=> More informations about this toot | More toots from JonnyJest@mastodon.social
@cassidy Well, as a demo only, that kind of local first stuff we have at @interpeer actually targets the GObject API, so yeah, you could kind of do that easily enough (TL;DR). If you'd like, we could work it out together.
Basically, it hooks a CRDT into GObject properties. You modify the property, it writes to the CRDT, and vice versa.
But it's got a bunch of holes and rough edges.
=> More informations about this toot | More toots from jens@social.finkhaeuser.de
@cassidy You'd need some centrally hosted dispatcher to be able to connect peers by code, right? I've looked into AirDrop-like tools like SnapDrop in the past and you always need a signalling server to help clients make a connection. https://github.com/SnapDrop/snapdrop
=> More informations about this toot | More toots from ryan@harter.us
@cassidy I think p2panda can do a lot, but its rust...
But you could do also some hybrid architecture, the ones who join can use different apps than the host- And a godot app can communicate with another (gtk) app for example over websockets.
=> More informations about this toot | More toots from lw64@chaos.social
@cassidy maybe something with multicast dns (avahi/zeroconf/bonjour)? Although the router should support it. It’s often disabled on public networks, though.
=> More informations about this toot | More toots from amolenaar@fosstodon.org This content has been proxied by September (3851b).Proxy Information
text/gemini