Want a game of naughts and crosses :D

Want a game of naughts and crosses :D
0

#1

Please have a game and you can leave me some feedback :smile:


#2

Wow this is fast! :smiley: This uses minimax, right?

Reset doesn’t seem to work :confused:

Also, try changing the cursor property for clickable items.


#3

nope just uses the css transform scale property,
I’m not sure about the reset button not working which browser are you using? :slight_smile:


#4

I’m using firefox.

What I meant was fast is the AI :slight_smile:. The AI makes a move right after I click.


#5

I managed to beat it at the hardest difficulty, going center then corner to create a fork with the X token.

It looks really, really nice though and I love the animation of the line that crosses through the winner’s symbols. It’s so smooth. The colors are really nice too.


#6

Yeah thank you for your complements in regards to the styling. Yeah I just noticed you can beat it with that strategy. I think what it is the something in the block fork strategy thing, it looks like I’ll have to do some digging. The good thing though is that i used browserify to separate to the view from logic, and draw instructions.
Thanks for spotting that out!


#7

Fixed the hard mode if your up for trying again :smile:


#8

beaten on hard mode:
O-----2
—O–
1-----3
numbers are for moves order, good luck.