Fitz
July 30, 2026, 5:04pm
1
I made tic-tac-toe with a working bot!
Heres how it works:
The bot knows all winning patterns, if it detects you have 2/3 in any pattern, it will place an X wherever it calculates the 3rd one to be, and it works the same for it’s own placement. If you do not have any pattern, or only one placement, it will randomly place itself on the grid.
12 Likes
Rune
July 30, 2026, 8:06pm
2
This is quite cool. Though I did beat it easily (because I’m just that brilliant) it clearly shows your skill at coding. Good job!
1 Like
This is very good! =) I tested what you said, looked at the code and proceeded to crush the AI 10 times.
2 Likes
Fitz
July 31, 2026, 2:12am
5
yea it’s not the best but it’s still pretty good
yay I won!
I did top-left, top-right, bottom-right
1 Like
I won!
Top left, middle left & middle
(I uh . . . Can’t put a image on mobile)
2 Likes
wow that is a lot of code for a tic-tac-toe game
1 Like
Fitz
August 1, 2026, 1:19am
9
yea it was hard to get it working, so i needed a lot of functions
2 Likes
you can put an image in mobile (im using mobile at this moment too)
1 Like
Air
August 1, 2026, 11:40pm
11
i will forever remain the victor
1 Like
I was using the email link, unsure if that doesnt allow them or not
you mean you were sending a post through Gmail? There should still be an image button at the top
1 Like