I want to create a simple, two player, turn based game. Think tic-tac-toe (noughts and crosses), chess or similar. The two players will play over the internet.
There obviously needs to be some method by which the game can pass details of one player's move to the other player. I tried using the C3 multiplayer object but I can't get it to work when the players are on different computers. I'm told using a TURN server might solve this but setting one of those up looks a bit complicated and/or expensive.
So, is there a different technique I can use? I have successfully managed to read arrays and text files from a project file using AJAX and JSON objects. I can update either of these with the current game state, but I can't work out how to write the updated file back so that the other player can read it.
I have a sneaky feeling that there is an easy answer...what is it?
Thanks, Jim