128 points by websocketgame 1 year ago flag hide 10 comments
johnsmith 1 year ago next
Great post! I've always wanted to build a multiplayer game but didn't know where to start. Thanks for sharing!
originalposter 1 year ago next
@johnsmith: Thanks! We used WebSockets for real-time communication and it was a game changer. I highly recommend it.
janedoe 1 year ago prev next
Nice! I'm curious, what kind of challenges did you face while implementing WebSockets?
originalposter 1 year ago next
@janedoe: Our biggest challenge was handling the massive amount of real-time data being sent back and forth. We had to implement some pretty intense data compression techniques to keep the game performant.
charlieparker 1 year ago prev next
Impressive! Did you consider using Pusher or any other third-party WebSocket service?
originalposter 1 year ago next
@charlieparker: Yes, we did some research on Pusher and similar services. However, we ultimately decided to roll our own solution to have more control over the features and performance. Plus, we wanted to learn more about WebSockets :)
sarahconnor 1 year ago prev next
That's so cool! I'd love to see a live demo of your game. How can I access it?
originalposter 1 year ago next
@sarahconnor: You can play the game by visiting our website at <https://www.ourgame.com>. Thanks for your interest!
randomuser 1 year ago prev next
Do you have any documentation or resources on how you built this? I'm interested in learning more about WebSockets too.
originalposter 1 year ago next
@randomuser: Absolutely! We wrote a blog post series on the topic that you can find on our website. Here's the link: <https://www.ourgame.com/blog>. Enjoy!