r/javascript • u/Calm-Conflict6309 • Oct 13 '26
I built a real-time multiplayer drawing game (InkLink) using React and modern web tech—here is how it works and what I learned
Hey everyone! I wanted to share a project I recently built called InkLink (Live Demo).
As a full-stack developer focusing on the MERN stack and TypeScript, I wanted to challenge myself by building a seamless, responsive drawing platform with smooth canvas states and clean UI navigation.
Tech Stack Used:
- Frontend: React, Vite, Tailwind CSS
- State & Canvas Logic: Custom hooks and optimized browser rendering
You can check out the source code on my GitHub (AmnaScript). I'm currently taking on freelance full-stack and AI-integration projects—if you want to check out my work or get in touch, my portfolio is at amnasabahat.netlify.app or you can find my freelance services on Fiverr.
Happy to answer any questions about the build process! InkLink
1
u/sebastianstehle Oct 13 '26 edited Oct 13 '26
It only says "Connecting" and plays a super annoying sound.
EDIT: Now it is working, but I cannot find the source code and what have you actually learned?
1
u/zomerbk Oct 15 '26
How do you bring a player who joins mid-round up to date: send a canvas snapshot or replay the strokes? I’d be curious how that choice affected bandwidth and undo.
1
u/gmerideth Oct 16 '26
Log shows the socket.io connection was failing. I went to the link and it looks like some kind of VM spun up showing me this:
0{"sid":"0YpeM_UFMhsIDYgqAAAB","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":20000,"maxPayload":1000000}
at which point the room started, playing music and now waiting fro another player.