I was going to do this... sigh it seems that everythings been done... great game though! I think i'll try to make your AI smaller but more complex. LOL JsbWalker
hey, wait, i figured out how to win! choose to go first, then 1. go in the middle. 2. go in the space above the middle. 3. go in the space to the right of the one u just played. nomatter which the computer picks u still win! oh ya, i rock!
its impossible to beat. tictac toe relys on one player not noticing or anticipating a move from the other player but since this computer answers indifferently, you cant win.
HEY thebing i found something you'll LOVE to experement with and try it's an edited version of scratch with a lot of really cool stuff u can do extra (like make ur project a stand alone EXE. or screensaver!) so try it!
Thanks for your thorough review. I think I have it working right now. I added a set command for turn on the computer and player buttons, and allowed the computer to select SQ1 in the "just play" cycle. Its great to get the feedback.
Hi TheBing, I’ve downloaded this project and I think there isn’t a real bug. The key is the variable “turn” that becomes 1 when the user goes first and ties. How the flag doesn’t initialize “turn”, the user cannot go first next time. (I think it’s fair). When the user goes first and loses or when the PC goes first and wins or ties, “turn” becomes 0 and the user can go first next time. (This is also fair). Unless the user clicks once after the game be over. (Stupid user!) Then “turn” turns to 1 and the user loses his chance for going first. But PC never loses. So it’ll be nice if the user could go first always. If you want to be gentle with the user, you have to set “turn” to 0 when the green flag is clicked. By the way: in the script “just play”(stage) there’s no chance to the PC for marking SQ1.
Another good job from you. But I've to claim because the computer doesn't allow that I begin twice. However the computer can do it. It's an injustice, it is...(calimero)
Download the 18 sprites and 66 scripts of "Tic Tac Toe" and open it in Scratch
Project Notes
OK I think this fixes the bugs ffred found for me, but since it didn't act the same in scratch as it does on-line, I'll have to share to know. Lets see what we get!
Comments
You need to be logged in to post comments
Add a Comment
I was going to do this... sigh it seems that everythings been done... great game though! I think i'll try to make your AI smaller but more complex. LOL JsbWalker
hmmm. I'm sure there's more to do.
new strategy! choose to let the computwe go first. 1.go top right corner 2. go bottom left corner 3. go top left corner 4. go mid-left or mid-top
I tried that, He beat me.
(view all replies)oops sorry i made a mistake!
hey, wait, i figured out how to win! choose to go first, then 1. go in the middle. 2. go in the space above the middle. 3. go in the space to the right of the one u just played. nomatter which the computer picks u still win! oh ya, i rock!
This is amazing!
Thank you. You should download it and look at the the scripts that decide what to play. They are not that complicated, but are ridiculously long.
(view all replies)That's sooo cool!!!
Thanks.
I won
its impossible to beat. tictac toe relys on one player not noticing or anticipating a move from the other player but since this computer answers indifferently, you cant win.
No there is a way to win.
yey i won
Sweet. Sounds cool. I'm a Mac user, I hope it does mac as well...
http://chirp.scratchr.org/index.html
HEY thebing i found something you'll LOVE to experement with and try it's an edited version of scratch with a lot of really cool stuff u can do extra (like make ur project a stand alone EXE. or screensaver!) so try it!
Yes, now the player can starts twice.
Thanks for your thorough review. I think I have it working right now. I added a set command for turn on the computer and player buttons, and allowed the computer to select SQ1 in the "just play" cycle. Its great to get the feedback.
Hi TheBing, I’ve downloaded this project and I think there isn’t a real bug. The key is the variable “turn” that becomes 1 when the user goes first and ties. How the flag doesn’t initialize “turn”, the user cannot go first next time. (I think it’s fair). When the user goes first and loses or when the PC goes first and wins or ties, “turn” becomes 0 and the user can go first next time. (This is also fair). Unless the user clicks once after the game be over. (Stupid user!) Then “turn” turns to 1 and the user loses his chance for going first. But PC never loses. So it’ll be nice if the user could go first always. If you want to be gentle with the user, you have to set “turn” to 0 when the green flag is clicked. By the way: in the script “just play”(stage) there’s no chance to the PC for marking SQ1.
yeah, He's my son.
who is bingaman is he related 2 u or a freind or what?
It is not injustice, it is a bug, it is...(glitch). I have no idea why it is doing that!
Another good job from you. But I've to claim because the computer doesn't allow that I begin twice. However the computer can do it. It's an injustice, it is...(calimero)
Not impossible, but you do need to go first!
It's impossible to beat though
This must be hard 2 make i tried to make a simple 2 player and i gave up!
YES INSTRUCTIONS PLEASE!!!