Let's discuss your "Tic Tac Toe Game"

It looks great.

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?

1 Like

Must be something wrong with my reset! I like the idea of combining reset and new game buttons too, thanks much for the feedback!

Great. Let me know when it’s ready for a new review. I’ll enjoy playing it.

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.

https://codepen.io/gmdivani/full/gGPBxj/

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.

1 Like

Here my Project:

1 Like

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.

Hello guys…

My TicTacToe project -> CodePen

The AI I developed is a little bit stupid!!! hahaha
But I’m happy with the final result!

[https://codepen.io/dhiraj072/full/yXerqB/] (https://codepen.io/dhiraj072/full/yXerqB/)

thanks for your valuable suggestion. I will add that delay in AI moves.

Great! I can’t wait to see it.

Hi mdivani, sorry to tell you yours can be beaten with centre, top left, bottom left.

1 Like

hi, thanks I found out about it too. sucks but I don’t have motivation to get back to it right now :slight_smile: thanks for response though.

I think you did a very nice job on the logic of this one.

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!

Hi. How many times should the game refresh? Mine’s going wonky after the 3rd time, and I’m being called out for that.
https://codepen.io/KoniKodes/full/KqyLML/

@KoniKodes I think it’s supposed to be infinite if necessary.

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/

1 Like

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.