9 ms·
Show HN: A collaborative pixel drawing game for when you're bored (Attempt #2)
Previous thread: https://news.ycombinator.com/item?id=30167391 https://news.ycombinator.com/item?id=30167391
Hello again HN!
It's been 3 months since I last submitted this project and the back-end server software melted down.
I was really bummed that many people didn't get to play, so I've spent most of my spare time since that last post completely rewriting the back-end server software using small, carefully selected dependencies (C99, sqlite, mongoose.ws & cJSON)
I've done some basic performance testing and I'm cautiously optimistic that it can now handle up to ~1000 concurrent users.
If you have any ideas for improvements, do let me know! Bots are permitted, but try and do something creative instead of just filling the canvas with junk :^)
You can view the source code for the new back-end here: https://github.com/vkoskiv/nmc2 https://github.com/vkoskiv/nmc2
You can also check out a recent time-lapse here: https://www.youtube.com/watch?v=FUmnUvTqn6M https://www.youtube.com/watch?v=FUmnUvTqn6M
The time-lapse gets generated from the server log output using this tool: https://github.com/zouppen/pikselipeli-parser/ https://github.com/zouppen/pikselipeli-parser/
(Note to HN staff: It wouldn't let me repost this unless it had a 'slightly different url', hence the sneaky redirect there. If this is a big no-no, I apologize, otherwise feel free to swap out the URL to the redirected one :^))
- SemanticStrengh 4y agoa proper r/place-like website sounds amazing! Thanks for making it :)
- vkoskiv 4y agoI'm fairly certain there are many existing ones that are better in many ways, but this one was made by my friends and I, and it was fun to build!
- SemanticStrengh 4y agoThe trackmania car is amazing, is it generated via a program??
- vkoskiv 4y agoSomeone drew that by hand one pixel at a time, believe it or not! :^)
- SemanticStrengh 4y agothat's crazy :O
- totoglazer 4y agoDoes it work? Not for me.
- vkoskiv 4y agoStuck loading? What kind of browser are you using? I should have mentioned that this is optimised for desktop browsers only at the moment.
- vkoskiv 4y ago~50 concurrent users already! Thank you all for checking this out. The old Swift backend gave out at around ~20 concurrent. This new one is barely even registering on htop at the moment. :^)
- vkoskiv 4y ago69 concurrent. Nice. Looks like the web proxy, nginx, is using more CPU than the actual websocket server software. That's good, right?
- vkoskiv 4y agoCalming down now. I think we peaked at around ~95 concurrent a few hours ago. Very nice to see! I also learned that I very much overprovisioned thst Hetzner system I’m running the thing on. The server is basically idle, and the server software too only uses a few dozen megs of memory.
- vkoskiv 4y agoHere's the updated time-lapse from today: https://www.youtube.com/watch?v=NcirrCpX6KM https://www.youtube.com/watch?v=NcirrCpX6KM We also pushed out a new version of the web client.
- SemanticStrengh 4y agohey it would be nice for watching the timelapse to be able to zoom during the video, any tool to do that? maybe https://chrome.google.com/webstore/detail/youtube-zoomer/bgdkkdnidmmakdgebkgaeijbfkhieejn?hl=en https://chrome.google.com/webstore/detail/youtube-zoomer/bgd...
- SemanticStrengh 4y agoHey I love it, coming back and seeing the organic emergence of new patterns/jokes/refinements. It's truly something!
- ge96 4y agoIt increments per click/same pixel? The need to wait adds an interesting dynamic. Also interesting can open incognito window and have more tiles. Could be cool to get hourly screenshots visible somewhere.
- vkoskiv 4y agoIt gives you more tiles, and after a few level increments, that limit pretty much goes away, and then you're only bound by the server rate limiter. It's mostly there to prevent newly generated bot accounts from placing too much junk on the canvas.
- Scalene2 4y agoIt feels like the higher your level the more wait there is between levels.
- picture 4y agoThat Lain Iwakura is amazing. Did she start off as the lady in the IDA Pro logo? Also does anybody have the original pixel design? I'd love to devandalize it but I'm no good at pixel art
- u2077 4y agoI helped someone build the Menger Sponge (https://en.m.wikipedia.org/wiki/Menger_sponge https://en.m.wikipedia.org/wiki/Menger_sponge) Super Fun!
- Scalene2 4y agoMenger Sponge gang forever!
- Scalene2 4y agoI seem to be stuck at level 7 with ~980/1000 tiles. Progress is really slow.
- Scalene2 4y agoI'm waiting for a Conways Game of Life refrence
- Shared404 4y agoAs of 23:35ish UTC there appears to be a glider on the board.
- Shared404 4y agoI saw a couple of bots fighting over the same land, immediately drawing over each others lines, which was fun.
- ad404b8a372f2b9 4y agoCool project! I made a little Edgar in the character corner.
- SemanticStrengh 4y agolol JENKEM