My own Tic Tac Toe game

My own Tic Tac Toe game
0.0 0

#1

Hello everyone,

Wanna play Tic Tac Toe? If you want, would you do me a favor reporting any bugs you might encounter, please?

https://codepen.io/spaniarddev/full/KRevzB/

Thanks and happy coding!


#2

I really like it. It seems the AI part is well writen. Good job. :+1:


#3

Thank you very much for taking the time to test it and for your words! :slight_smile:


#4

It looks awesome. And AI gave me a good fight LOL.


#5

You won?! Damn it! I never did! Hehehe

Thanks!!


#6

I’m seeing some big issues displaying it on iPhone. Tested it with my brother’s and it looks all messed up.

Do you know a way to test on many devices? For free would be awesome hehe


#7

I really liked it. Trying to do the same. Good Idea.


#8

Thank you! I’d like to see it when you finish :slight_smile:


#9

which language you have used to make this


#10

I used Javascript (w/ React) for the game logic and behaviors. Then HTML and CSS for the visuals and SVG for the animated elements.


#11

Its very nice.

Just one thing.
It would be better if the ai makes its move after a little delay so as to let the player make the complete move (draw its X or O).

Just a thought.

Other wise its beautifully implemented and designed.


#12

I agree! Actually I tried but I spent much time on this and I got to keep moving forward :smiley:

Thanks!!


#13

i really liked it!
Good Job @SpaniardDev
Keep It Up


#14

Thank you very much @HooriaHic! :smiley:


#15

I was trying to win, but all my attempts failed(( great job:disappointed_relieved:


#16

great job. love the animations


#17

Thank you very much :))


#18

Awesome! I wish if I could make my tic tac toe game like this.


#19

Good job!
Excellent job with the UI and animation. Great choice to use React.
I did not go deep into the code, however, one thing I did notice is that you store Constants in the state. state.possibleWins and state.board are two examples. State in React is build for dynamic data. I’d recommend dedicating the first lines of your JS for constants.


#20

Thank you very much @picklu!