
Tic tac toe game with minimax algorithm for the CPU player
Design comparison
Solution retrospective
I loved all the user interactivity of this challenge, and implementing a more sophisticated CPU-player algorithm. I'm also proud of the system that I built for the CSS for the icons and boxes, since those were elements reused throughout the challenge and I wanted to be able to reuse the CSS accordingly.
What specific areas of your project would you like help with?My JS is disorganized at the moment, as I was trying a bunch of things and different approaches. So I should probably take some time to clean it up and refactor. I'd love to hear how others handled keeping track of the game state and all the other scripting parts of the challenge.
I do have a small question about why the "O" svg icons seem to be cut off a little bit. Anyone have thoughts?
And I am new to animations/transitions, and so would appreciate feedback on how I did those, and how they could be improved.
I'm also up for any other kind of feedback. Thanks in advance.
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord