I won every time. The secret to never lose is, place in the middle on your first turn. If your opponent blocks diagonally, place on the oppost diagonal. If your oppoent trys to win, block them. Else, Place an X to create a pyrimid that is hollow. No matter where the block, you win. If your opponent blocks to the side, Place on the opposit side and 1 counter clockwise. If your opponent trys to win block. Else Make a hollow pyrimid. No matter where they place, you win.
NOTE: You might have to 'drag' the mouse over the square to make the piece appear.
This is a Tic-Tac-Toe game with advanced AI. It basically works by first checking if it can win, then if it can't win checking if it can block you, and if it can't do either two then it chooses a random empty square. Sometimes parts of this process are omitted depending on the CPU Smartness level set by the user. Have fun playing this!
Now with instructions, more CPU Smartness levels, an updated error level system, and a gradient on the grid!
Comments
You need to be logged in to post comments
Add a Comment
yes beat them all!
I beat them all!
Only level five is hard for me!
Nevermind I accidentally kept it at 1!
5 is done!
4 is too easy for me!
Don't forget level 3!
and level 2!
I beat level 1 so many times!
dude this is confusing not kool! im not even going to try it!
no
it doesnt work.
There are various problems with this application.
4 some rezon i cant klik some spots
Found a bug: X#X #O# O#O Where # means empty. In real tic tac toe you can win there, but you cant in your game.
I beat it at level 5. Moves: X:TL O:CNTR X: BR O: TL X: MIDR XXX!
I won on 5 difficulty by pressing random directions :).
Check out my tic-tac-toe game. So far I haven't won and I'm not sure if you can win. (link to project)
I won every time. The secret to never lose is, place in the middle on your first turn. If your opponent blocks diagonally, place on the oppost diagonal. If your oppoent trys to win, block them. Else, Place an X to create a pyrimid that is hollow. No matter where the block, you win. If your opponent blocks to the side, Place on the opposit side and 1 counter clockwise. If your opponent trys to win block. Else Make a hollow pyrimid. No matter where they place, you win.
I beat it at 5 smratness and it locks up sometimes. Cool still- I want to make an impossible tictactoe game remix version!
pretty COOL GAME
nevermind
I know. But try level 5 =P
AI level at 1 makes it stupid. It chose a random square when it still could've blocked me.
Nice game! If you are interested in building and battleing your own scratch bots go to scratch robotic combat on my page!