How to make TIC TAC TOE Game in Scratch!
ฝัง
- เผยแพร่เมื่อ 9 มิ.ย. 2024
- 👉In this video, I'll be showing you how you can make your own 2 player tic-tac-toe scratch game! Give me your feedback in the comments!
Art Assets Project - scratch.mit.edu/projects/7836...
⏱Timestamps⏱
0:00 Intro
0:04 Explanation
0:14 Tutorial
8:36 Outro
😍BE A MEMBER TODAY! : - bit.ly/3yvkmXe
👉SUBSCRIBE👈 : - bit.ly/2YXiNS2
Our Studio 🎪 On Scratch (Join For Projects) : - scratch.mit.edu/studios/27307...
👾Discord : - / discord
🦜Twitter Profile : - / mcvincient
😻Scratch Profile : - scratch.mit.edu/users/FANJOUA/
🌍Website : - mcvincientscratch.weebly.com/
🎮Second Channel : - / mcvincient2
😎Scratch Project Review : - • Project Review S2
🕑Shorts : - • Shorts
🔫Top Down Shooter Series : - • Scratch 2D Shooter Game
🖥Scratch OS Series : - • Playlist
🍪Clicker Series : - • Playlist
👨Scratch Basics Series : - • Playlist
#indiedev #scratch
Thank you so much! I made 1 and there were a lot of mistakes and I couldn’t find them so I just started a new one and it works! Thank youuu!
same
I got a 10/10 on my Scratch school project because of this tutorial, thank you!! 😊
Amazing!!
Make a scrolling plataformer next
NO@@stereomadnnesgames
how old are you?
@@rizharwal2ndchannel 15 at the moment, 16 now, spanish school system is built different.
When u said tic tac toe its very funny and thanks now i can learn how to make it!
i like how mcvincent say "lets get started"
thank you because i was making game library and i want a game like this
Amazing work!!
Thank you so much man.
I didn't have time to make this earlier today but when I tried this just now during the cloning 2 of the blank areas are in the middle causing
_ _ _
_ _ _
_ _
Never-ending I had the create clone before the change clone number
check your code
As a person who played tic tac toe, I can say this is a very tic tac toe moment ☝️🤓
the new tictactoe season 5 chapter 2 slaps. be sure to subscribe to @Mcvincient for more
🛐🛐
@@McVincient 🛐🛐
Thank you! i have made a code which makes the X not always the first by making the turns randomized!
how
@@mycodingplace3138 he used a pick random operator
Bro, i had a brilliant idea, i had a ideia about making a CLOUD tic tac toe with 5 PLAYERS and special abilities (like in rpgs)
I've been trying to make tic-tac-toe forever thank you so much
I liked the video and then changed to 1K! 1000th like!
hey, will you post project review vids on your channel?
Yes but not before March/April
wow🤯🤯 thanks bro for this easy tutorial and I learn on the video how to use lists🤩🤩🤩🤩
Glad to hear that!!
Fun fact: I started scratch 2 months after this video released and this was the first video I watched on your channel and damn I was dumb! I’m seeing past comments of mine😂
TYSM 🥰🥰🥰🥰
Its hard to make but its cool and good
For some reason onlt the first one works, i made a totally normal good haha "ai" that picks a random square for the non player turn but even brfore that i couldnt get anything other than the first one. Help please
This tutorial didn't show how to make AI anyway
@@McVincient the ai is just random, but you can only place stuff in slot 1 for some reason. That's my issue
Can you add like a cloud system so that they could actually be two players?
That's too complicated for me (I'm still learning cloud)
@@McVincient just watch griffpachs video
Very good. But speed like mail train. Please say at low speed such that every body can understand. I have tried 3 other types but this one is very beautiful. Very good job done indeed.
Noted
This is very helpful thank you.
damn this one is kinda lil bit complicated but i managed to do it. kinda cool not gonna lie and simple to do
you did a preety good job mates
i already play it with my friends so we wanna rematch but its kinda annoying if we need to press the flag again to rematch...
so can you make a tutorial of making a rematch in tic tac toe?
hopefully u listen to me
if you cant, thats okay
I would've put that restart feature, but that makes it even more complicated, so I didn't include that
@@McVincient i tried it by myself but it ended up recopying a lot and messed up..
i easily made a restart button
@@pikashuaden2619 gaddamn how did u do?
@@McVincient hey man, i did a functional rematch button, here's how:
create the button, then go to *Boxes sprite* , find the script that defines *check winner* .Under *set [winner] to (win)* , broadcast *Rematch* . Also broadcast Rematch under every script that runs *set [winner] to (draw)*
then go to *Rematch Button sprite* and do this script:
when i recieve [Rematch]
show
forever
if then
broadcast [Rematch = Yes]
hide
go to *Boxes sprite* and do the first script:
when i received [Rematch = Yes]
broadcast [delete clone]
delete this clone
the second script was:
when i received [Rematch = Yes]
show
random pick (this is My Block, not built-in code)
set [winner] to (n/a)
set [cloneNumber] to 1
repeat (9)
change [cloneNumber] by (1)
create clone of myself
hide
in this third script, make sure that you have:
when i recieved [delete clone]
delete all of [boxes]
repeat (9)
add (blank) to [boxes]
i think this script was actually included in the tutorial.
now under of the third script, do:
repeat until
delete (10) of [boxes]
now try it out!
i think this should work since I run these and works normally
This helped me so much
nice
Hi, Can you make a tutorial on how to make a rubiks cube in scratch?
I'll try!
@@McVincient :D
I have done the customizing and coding
Thank you! Such amazing talent, I am using this because I want to flex on my classmates about how much of a great coder I am!🤣☺And I give credit to you
Nice 😂😂
@@McVincient lol, u are my fav youtuber now, if you Indian/ Asian I'm 99 percent sure u are, i am Asian but not Indian. But people say I look Indian lol.
Oo
I'll make a more aesthetic look later
Thank you so much
thanks so much!
Bro this is very working i am first in my school computer project thank you ❤❤
Could you maybe make a studio for you to try our games?
I already have a series called Project Review, but I'll take your idea into consideration!
thank you bro this helps!
3:05 - 3:08 Big brain moment
Is it possible to change the size of the sprite by just typing it? On ipad
yes
@@McVincient how!
X and O value not shown me on clone boxes variable values shown
Check your code
Guys can someone pls explain when I press on the box every time it tells me that it is taken instead of putting a X or O
Check your code
@@McVincient I did that but it still doesn’t work but it is okay I appreciate your work and it was a really useful video
Good news, McVincient channel is actually monetized!
My channel is monetized since May 2021....what are you talking about?
The first time I click a X or O isnt placed and the box says taken I dont understand whats going on? The rest of them are fine. Also how do I lock the squares in place so they dont move?
Check your code
@@McVincient that reslly that helpful
I had a similar problem, make sure that whenever you create your variables you make sure to set it to only that sprite and not to all sprites. That was originally my mistake that ended up being fixed once I redid my variables. If not, I apologize and I hope you can find the issue towards your code.
Next tutorial : How to make ONLINE TicTacToe in Scratch?
nice idea tho
@@McVincient So plz make it plzzzz
scratchtube told me to sub to you
yes coz I made it
Hi thanks for this! Please how do I add a timer that countsdown from 60 seconds to 0?
Use timer from sensing category
Reset it when the game starts
Then once it goes above 59, stop the game
Sir coding kis pa kie hai
I mean ka konsi scprite per kie hai
Sprite toh 1 hi hai na
@@McVincient gi sir lakin gab AP coding ker rahe thae AP ki sprite x show ho Rahi thi uper lakin mare nahi ho rahi nache AP ki simple sprite thi Jo ka first sprite thi
Or sir ma na Sare coding kie hai first sprite per lakin Kuch create nahi houa
@@McVincient Mera school expo tha jis ma mana present kerni thi lakin ye ban ye nahi Rahi
Can't it the other team be randomized?
What do you mean by that?
@@McVincient as in the other team would be automaticly picked
It didnt work for me as my boxes arent moving into the nine squares and they are just overlapping each other and i checked my code and its all correct
There must be some mistake in the code
@@McVincient I made sure and I double checked when I started the code it just duplicated the squares over each other
@@ThatSahana828 but it's impossible to have the same code but different things happening
There must be some mistake
wow
wow
wow
tic tac toes
I’m not saying it’s bad but I checked it 2 times and this doesn’t work ❤
You must have missed something
Check it very carefully once again, and don't just check code, check the costumes as well.
GG
Why is the blocks moving when I touch them
😊
play in full screen
i just used cats to detect who is the winner 2 cats X and O
thanks for telling🙂🙂
Guys but this doesn’t work :( I can’t space out the choices and tiles. And it says all O. So this tutorial is broken
Check your code! Maybe you made some mistakes while copying from the tutorial!
@@McVincient okay!
Oh hello
hello
@@McVincient WTF How …. You didn’t liked my comment! ^•^´
@@costope I like it
@@DUMB_PERSON_NEAR_ME thanks you are a real bro 🤩🥰
Please help me make it because it lagged
What was the reason of lag? You have an older device? or some other problem?
Can You Make A Video On How To Code An AI For This And The Cross System?
Yeah sure I'll try!
1nd (This is a joke + I'm not actually fircond or first or what ever julio said)
Help, when I did when the 9 blocks show up, only 8 blocks showed up
Check your build number
@@McVincient where do you go for that?
I love it, but I have a glitch where I only spawn 8 clones, not 9
Check your code
@@McVincient I did, 9 times(😆) But out didn't work. Even the variable said it was nine clones, but the last clone wasn't VISIBLE.Well, for me. But still good job!
How many subscribers do you gain per day nowawdays?
It's not constant
It varies a lot nowadays
I cant make it to say X is winner or O is only says draw
Check your code
what part of it @@McVincient
My X and O dont appear D:
check your code
I think I hear (diagonal صار)
omg
@@McVincient you Arabic right?
@@DUMB_PERSON_NEAR_ME no he's indian
@@tigershelf idk is that real but ok
@@DUMB_PERSON_NEAR_ME bro he's indian
0:25 not true i made my squares to big and the grid didn't have any space
So make them small
did do
it's need to be multiplayer
good idea
Tiktak
i made it but if we click the flag then all the boxes is filled with O
check your code
Can you make a multiplayer cloud variable tic tac toe tutorial plz 🥹
I'll try
its fast to make it decorate please make it slow
Thanks for the feedback! I'll keep that in mind next time!
mine is not working
Check your code
it's hard and too long , can you make it shorter
Nope
is there an ai tutorial
Nope
Didn't work for me I'm in 3.0
Check your code
@@McVincient it was correct :(
sorry
didn’t work for me either
@@julienfutbol5780 It is just not possible. Tell me one way it's possible... like I literally coded the entire game infront of you! There must be a really unnoticeable thing in your code that might be wrong!
@@McVincient maybe. i did everything but when i play it, it just shows one x and everything else o even though i done everything. maybe its a glitch or something idk
2rd
😭😂😂
I see just O
Check your code
When there is a winner, the "stop" routine is not running in my code.
what do you mean it's not "running"?
I got it to work by placing a 'wait for 1 second', after the 'broadcast end' !
@@McVincient It was not being executed.
There’s 1 missing thing about making it have a bot
Making a bot is difficult
Bro it isnt working for me
Check your code
I Made this game with The Same Script
When i click i dont see the x but when i click second time i see O
Check your code
Well, I made it and then If I click the green flag I click the boxes and It change to X I hate the tic tac toe Project
Check your code
I did Check @@McVincient
I already delete my tic tac toe project@@McVincient
one is x one is blank
Check your code
It didn't work for me
Check your code
Mcvicent how can I get popular . I had a very good game and it's still not in trending
good title and thumbnail (and some followers) = hit
Bruh at my computer isnt working
Check your code
@@McVincient i checked it i dont se anzthing
lol
So hard,i cant make
I get it, learning Scratch and becoming an intermediate scratcher could help you tackle complex games like this. Good luck!
my not work
Check your code
@@McVincient yes my work
ผมฟังไม่รู้เรื่่องครับ
There is no story
@@McVincient ก็สอนไงครับ
translated I don’t understand the story
It didn’t work..
Check your code..
@@McVincient still isn’t working and I re did the whole thing 2 ,
I glitched it :/
check your code
У меня не работает!😭😭Научи меня,пожалуйста😌😌😌😌
Проверьте свой код! Возможно, есть какая-то ошибка.
you 2 using google translate
DOES NOT WORK
Check your code
@@McVincient sir i did 100 times but it does not work this is a different model of scratch that is why
@@bhavithgembali770 Then kindly explain my how did my project work?
It not working is practically impossible
@@McVincient I do not know sir I tried it many times over and over again, but when I press one of the clone all of the clones change the costume
I tried your programming it's fake
Check your code before blaming me
Your so bad
womp womp
@@McVincient 😂
พูดเร็วมากเลยครับ
Slow the playback speed
@@McVincient ลดไม่ได้ครับ