I like the ai’s timing. Quick enough to play, yet not too fast as to over-ride the player’s timing.
I did see the winning square re-highlight when I pressed reset.
It did not happen when I pressed new game.
Perhaps you could remove the reset and have the New Game button be used to both reset and start over?
Hi, I finished my tic tac toe game today, I think its unbeatable as far as I tested at least I wasn’t able to win, it would be great if anyone can check and give me a feedback.
Hi,
It’s very pretty. There are just two thoughts:
You may want to let the user know that X goes first.
Your ai hits fast. At one point I was confused on what the last move was. You might try to set a two second delay on it’s placing the marker.
Otherwise I looks great.
Hi. This looks good. My only suggestion would be to add a delay of 2 seconds on the ai move.
This is long enough to give the user a breath between moves - and it feels like the computer is thinking - but not quite long enough for someone to cheat by playing before the ai does.
Project Link https://codepen.io/doubleUTF/pen/MvqKGO
Used SVG, jQuery, and Minimax AI. Can play in 4x4 and 5x5 board sizes but in easy AI only because the increased board size is very taxing on MM AI.
Feedback would be appreciated!
Here’s mine. This took ages. I designed my own AI using arrays to analyse threats/opportunities and the program ended up pretty big. But what took the longest time was the interface. It’s position absolute/pixel stuff; so to make it responsive, I’ve organised it so one version or another loads depending on screen size and that seems to work quite well, though it took a lot of coding. I think the problem with this project is it’s hard to find a balance between an interesting game and a game that never loses, so there’s a tendency to make the game play too safely and therefore become boring. Anyway, here’s the link if anyone wants to take a look: https://codepen.io/Code_Noob_/full/QqZjjb/
Yours looks great! I almost thought I was going to win once, but ai caught me.
Mine seems ok on the resizing, but the stop after win seems to be one issue. And reset must not be setting it right either.
I almost met the user stories.
Back to finding the right logic and syntax.
@KoniKodes If you mean mine, thanks. I spent a lot of time on that.
I don’t know how you’ve done your logic, but a lot of people seem to have used minimax so you might want to consider that.
I think with this particular project it’s best to do the game engine first and then once that’s done and working ok, do the interface. Usually it’s the other way round I find.