3 ms·
I love SSE. I fear years back I made a Monopoly Deal game with a client-server arch. Server was in Go with SSE, and client was in JS/Svelte with SVG and a lot
by rawoke083600 3y ago
I love SSE.
I fear years back I made a Monopoly Deal game with a client-server arch.
Server was in Go with SSE, and client was in JS/Svelte with SVG and a lot of CSS.
It work so so well ! The clientside cmds (like "place this card there") was vanilla ajax send to Go Server, but the "state" was always send via SSE to connected clients.
I was surprised to see how far Joe Average (Yea I use bootstrap for most things) can push CSS for nice looking card game.
PS: Oops I mean "WildDeal" not "Monopoly Deal", no need to get sued
- cassepipe 3y agoWas it a side project of yours ? Mind sharing a link ?
- rawoke083600 3y agoI took it down, was like 95% done but ran out of motivation to make it bullet-proof and catch all the corner cases. Also needed to add something like WebRTC, we found out playing with my friends we always were in a Zoom/Jitsi/WhatsApp call with each other, half the fun is the "vocal banter" :D Wait Wait do you work for "Hasbro" :O ? PS - Fun Nerd Fact: Hasbro owners of many many board games including monopoly also owns the trademark for "Ouija Board" (yea the spirits phone-home one) :D