r/javascript • • 7h ago

AskJS [AskJS] Good resources for using JS/TS for simple real-time multiplayer games/interfaces, web-based?

I have designed a game in real life and thought of creating a very simple online version of it so I can play it with more people at any time. I don't have much experience with JS, just basic webpage functionality, though I have a lot of experience with programming in general.

The game is not very complicated in terms of mechanics, just turn-based in a real-time updating board and I'd probably be looking to something similar to what chess websites implement, if not an identical implementation. I'd just like resources related to designs I could get "inspiration" from and how the web clients would communicate with the server. I do not want to use automated assistance.

3 Upvotes

2 comments sorted by

•

u/Silly_Maintenance_87 8m ago

Check out Colyseus framework for networking and Phaser, PlayCanvas or Babylon engines for the client. Also, PixiJS is a solid choice for client side if you don't mind to implement basic game systems by yourself.