Browse Search Popular Register Upload Rules User list Login:
Search:
Tic_Tac_Toe

Image:
screenshot of the scene

Author: MIGDANALDS

Group: Default

Filesize: 18.26 kB

Date added: 2025-07-15

Rating: 5.5

Downloads: 1409

Views: 360

Comments: 11

Ratings: 2

Times favored: 0

Made with: Algodoo v2.2.4

Tags:

Scene tag

is now actually smart
UPDATES:
1- Added win/lose/draw
2- Fixed the cheating bug
3-
4-

got a random idea at a random time, fixed the deleted scene
Last edited at 2025/07/27 13:18:56 by MIGDANALDS
Please log in to rate this scene
edit
Similar scenes
Title: Basic Tic_Tac_Toe
Rating: 5
Filesize: 8.77 kB
Downloads: 264
Comments: 0
Ratings: 1
Date added: 2025/07/27 13:07:10
Made with: Algodoo v2.2.3
Rating: rated 5
download
Title: AI Tic_Tac_Toe with Levels
Rating: 5
Filesize: 67.25 kB
Downloads: 183
Comments: 0
Ratings: 1
Date added: 2025/09/20 16:51:55
Made with: Algodoo v2.2.3
Rating: rated 5
download
Title: AI Tic_Tac_Toe
Rating: 5
Filesize: 21.36 kB
Downloads: 401
Comments: 12
Ratings: 1
Date added: 2025/07/31 11:44:09
Made with: Algodoo v2.2.3
Rating: rated 5
download
It seems a lot smarter than mine! :lol:
It has an error with its winner logic. Here's why:

For the purpose of this explanation, let's label the squares 1 through 9 beginning with the upper left square as 1.

X(me) 7
O (AI) 1
X 3
O 5
X 9
O 8
X 6 ; I should have won with this move (X in 3,6, and 9) but the AI continued to play by placing an O in 2 declaring it the winner! CHEATER! LOL!


Oh, one other issue: After playing a game I noticed that my toolbar at the bottom of the screen changed! The Grid on-off button got removed and it was replaced by the Knife tool. It happens every time I play this game and it stays like that even when loading and playing other scenes. I was not able to find where in your code that happens, but I highly suggest that you find it and fix it because a scene should never be able to change the look or operation of Algodoo. Thanks!
Last edited at 2025/07/15 18:58:58 by Xray
I know about the error, i scheduled it to be fixed today, i made one of the poststeps turn App.GUI.playMode = true, so thats the reason, but i already fixed it right now.
Wow, this is the first time ive got a rating:o
The toolbar issue seems to be fixed, but it still doesn't register a win properly. Play the game that I told you about in my previous comment and you will see what happens.
Sorry for procrastinating, i will ACTUALLY fix it today.
Fixed!
There is still an error, if you are in ipad, you can just click on multiple squares at one to win
There is still an error, if you are in ipad, you can just click on multiple squares at once to win
oops
sorry im suited for PC user problems