This game is for two players, it aks for insert the player name ... when your name is presented make your move. If you're able to mark 3 vertical, horizontal or diagonal marks you'll be the winner.
remix of noamkoren and trippinteacher projects: 1) added the input of player names 2) added some sounds 3) shows the winning marks 4) added Again button 5) changed the game logic The game Logic keeps looking for 8 Lines (L1 to L8) formed by: 3rows, 3 columns and 2 diagonals Each line L(n) is a variable that contains the sum of 3 specific cells. When a cell is marked with X its value is 1; when is marked with O its value is 10 When a line L(n) is equal to 3 or to 30 there is a winner