My Unbeatable Tic-Tac-Toe Project

Hi! Everyone! It’s my first post!

I made a Tic-tac-toe game with Minimax Algorithm, and looking forward for any suggestions. :partying_face: :partying_face:

Here’s the Github repo
And here’s the live demo

Thx:)

It looks very nice. And ya, I can’t beat it.

A few tips. The event handler should go on the button, not the image inside the button. That way people who need to use a keyboard can still start the game.

And I think the cells on the board should also be buttons. Again, so people who use keyboards can play it too.

For such a simple game there would actually need to be quite a bit of work to make it accessible for people who use screen readers. But I won’t go into those details for now. Definitely add the buttons though.

Wow! Thanks very much.
You’ve provide a perspective I’ve never thought about as I am a newbie.
I’ll work on the button issue.

Great effort! You may want to adjust it for cellphones though as it is too big on my cellphone display. (See screenshot)

Sure!
Thanks for the advice!