This is real-time and working! It took a while to code this but it finally works! A simple game of Tic Tac Toe/Noughts & Crosses, but it's online and you can play with other people! Click in the boxes on the grid to place a counter. YOU MUST BE A SCRATCHER TO PLAY ONLINE
-How It Works- This game uses cloud variables to update the layout of the grid using a code where each number represents either a blank space, an 'X' or an 'O'. Because cloud variables display the same thing for everyone, I can use them to make the game online and multiplayer. Here is the code: 1 = Blank 2 = X 3 = O The cloud variable that updates the layout of the grid will always be 9 digits long because each digit represents a box in the grid (3*3 = 9). The player will also be labelled either 'P1' or 'P2' depending on how many other people there are online. This is what decides if you are 'X' or 'O' in the game. (Player 1 will always be 'X', player 2 will always be 'O')