Hi ...

I wanna make an online game , but the main problem is how to make connection between the players like if I moved player1 the other computer has to see this movement ,I tried to make it as the network game(LAN) but the computers can't connect with each other by internet sepically if the internet access by router , so I found another idea like to make all players send there information movements to the website and then every player will bring all the information from the same website in that case all players will know if there any changes in movement
I don't know if my idea is good or not, please tell me if it's wrong what the best way.

- is there any example about that ?
- is there any example about send and bring information from website?

Thanks