Tic-Tac-Toe project feedback

Hi guys

After much deliberation I have finally completed my Tic Tac Toe game, which I am quite proud of myself for!
Any feedback would be much appreciated, be it about the code, the design, or the functionality.

Tic Tac Toe by JNC - codepen

Many thanks :slight_smile:

I dont know much of codes, But I like it very much. Its seems chic to me.

1 Like

Really nice layout and interface! Timing of animation and menu popups are perfect.

Did manage to beat the computer though. My own game’s “brain” was made up by me and is beatable as well… haven’t looked up any algorithms yet for an unbeatable computer.

1 Like

Only computer wins and draw :thinking:

What do you mean? If there’s a bug please elaborate as I can’t find it

Good job!
I absolutely love how simple and good looking it is. Hover animations, header, footer and the modal are all awesome and fit together well.
I did manage to beat the computer though. You could improve the AI if you wanted. Exact scenario is:
me: put X in the middle center
computer: put O somewhere else than the corner
me: put X in one of the corners
and so on I always win with this scenario.

1 Like

Thankyou for your feedback guys

I have updated the algorithm to go for corners before the edges.
Haven’t had time to test but it appears to be working.

1 Like