Design comparison
SolutionDesign
Solution retrospective
My first big project and I had so much fun making this :3. I tried framer-motion to help me with css animations but I can't help but feel like it's slow(lagging?) sometimes - if anyone has any insight on why this might be and how to fix it let me know!
Community feedback
- @curiousmind04Posted over 1 year ago
Looks good, how did you go about writing the logic for different difficulty levels when playing against the computer?
1@diaasaurPosted over 1 year ago@curiousmind04 Hey Brandon! For easy mode, I picked a column randomly for each turn. For medium + hard modes, I used minimax algorithm with depth=0 and depth=5 iirc.
0
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