Assume you have made an internet game of tic-tac-toe or sth that is played between players. So, when a player inputs 'x' or 'o' or whatever is the input, the opponent must receive it on his pc.
I know how to make this with timer. But I'm interested in making it with an event. I mean, when the input is given we catch an event. Then, this event is reloading the opponent's page and he receives the info.
Is there any way I can achieve it? And does it worth it?
Thanks in advance for any responses!