Hacker News new | ask | show | jobs
Scribble.rs – The free and privacy respecting pictionary game (github.com)
4 points by bios-marcel 570 days ago
2 comments

Hey hackernews!

Here's a little project I've been working on for quite some time (on and off).

I feel like many people would potentially enjoy it. It's free to play right away on the official and community-managed instances and everyone can easily self-host it.

To those who don't know what a pictionary game is: One person draws and the other people try to guess the word.

One of the most used apps is probably `skribbl.io`. However, due to it being full advertisements and being closed source and having rather bad UX / UI (imho), I decided to make my own version of it at some point.

It's written In Golang (despite what the name might suggest) and uses VanillaJS for the frontend. While contributions are welcome, be warned, it won't be all roses

Love this! a testament to what can be done with pure JS no frameworks, how does the sync work? I'm assuming websockets for the transport layer, does the backend store the full state of the image being drawn or is it sort of p2p/client owned?
Thanks

Yup, everything's via websockets. The backend stores the draw-commands in-memory, so the clients can restore the drawings by replaying the commands client side. No peer to peer stuff, wouldn't want to expose IP addresses or overcomplicate things :)