How to use multiplayer in web games?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Sprowk

I’m making a few simple games that will have multiplayer for a website. For example, a user loads a tic tac toe page. The game finds him another user to play with and then they can play in real-time.

I’m quite new to networking stuff, only tried one game with server-client multiplayer but have no idea how to do it with a website. How would I do this? Or is there a demo showing how to do this?