This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-05-14 22:23:29

Bookworm200
New Scratcher
Registered: 2011-04-14
Posts: 5

Tic Tac Toe

Hey so I have my tic tac toe game that I'm making, but I don't know how to make the system recognize that there are three in the row. How????

Offline

 

#2 2011-05-16 04:01:49

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Tic Tac Toe

Well, I would recommend storing the values of the squares in a list, and then if items 1, 2, and 3, or 1, 4, and 7, or etc, you win.

Offline

 

#3 2011-05-16 16:28:58

Bookworm200
New Scratcher
Registered: 2011-04-14
Posts: 5

Re: Tic Tac Toe

but wouldn't that take a really long script? is there any easier way to do it?

Offline

 

Board footer