Hello!
Recently I finished my tic-tac-toe game and FINALLY got a hold of the juicy legacy frontend cert.
I’d definetly appreciate some feedback on how to make it better!
Link is down below:
Hello!
Recently I finished my tic-tac-toe game and FINALLY got a hold of the juicy legacy frontend cert.
I’d definetly appreciate some feedback on how to make it better!
Link is down below:
I chose to play against computer but then nothing happens after I play
When playing against the computer, I did give it a chance to win by intentionally not blocking a win, but it didn’t take it.
Could you please specify exactly what you did? For me it works fine.
I’m aware of this, and a fix is on the works, but thanks for reporting! It does happen rarely though
it works now. great! I’m not really good at programming yet so what languages did you use please?
you can see the source code on CodePen
HTML, CSS and JavaScript, on CodePen
Looks pretty solid.
I had the same experience where the computer doesn’t take the most logical next move to win sometimes, but maybe you can have an “easy mode” and a “hard mode”.
Could jazz up the design a little bit with non-default buttons or CSS effects to make it a bit more visually exciting.
It’s kind of weird to have square boxes in a rounded frame. There’s also a small inconsistency in the corner:
This at default zoom and 200% zoom.
Thanks for your feedback!
The weird inconsistency has been fixed.
As for the weird moves, it’s because the computer’s diagonal detection code isn’t at its finest…
But it works. The good thing is that, because of how it’s programmed, it’s actually impossible for you to win by forming a diagonal, so that part of the code isn’t that important anyways.
I’ll try to experiment with some other button styles, too!