Well, a re-create of my old script. Alot, and i mean, Alot better! This took me a while, because i didn't want to waste useless lines like in my last script, So i tried making up methods, which worked.
How To Use:
When you first begin you will be given a player, It will be displayed at the Right of the game. "X" meaning Crosses and "O" meaning Naughts. When someone wins their' Combination will light up in Red and their' Score will become bold.
Everytime you win, you will recieve two points. It's the same with the computer, too.
When the board is full from a Tie both players will recieve 2 points. To play a New game after the board's full, a player has won, or if you don't like the way the game's going, Press the "New Game" button on the right.
To position your player, Click on any of the "available" squares :)
Features:
I made the computer smart, at times.. Meaning it will, at random, try to defend you winning (If it didn't go for its own win).
Known Errors:
It lags a little (Only for a split seconds or less..). This is because it go's through about 5 while loops each time someone positions (You hardly notice this lag, though).
Other than them i don't know if there are any more errors, please post them if you enquire one.
Tic Tac Toe CHEAT:
I added TicTacToe_Cheat for people who want the computer to be harder. The computer cheats in there nearly every game by taking 2 moves. Also, in both games, the higher you get your score the more will be added on the next win ;) You can still win, though.
Enjoy Tic Tac Toe!
-XxKanexX
