How To Make Tic Tac Toe In Scratch 3.0

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • In this video requested by a viewer we will make a Tic Tac Toe game in Scratch. This also includes a AI to decide who wins.
    If you wanna support my channel, smash the like button, comment and share my videos with your friends. thx :D
  • ХоббиХобби

Комментарии • 207

  • @darrenelves9858
    @darrenelves9858 3 года назад +6

    These are excellent tutorials. It has really simplified my students’ understanding for basic coding using Scratch.

  • @Cobrapollo1
    @Cobrapollo1 3 года назад +3

    Thanks for bringing joy to me and all your viewers Chris, have a awesome rest of the year. Video suggestion: make a first person shooter game (but no blood cuz that gets accounts banned)

  • @786ravigupta
    @786ravigupta 3 года назад +29

    Hi Chris! Whenever you do tutorials I don't understand. but when you start to explain it makes me to understand the usage of them too! Your Amazing Chris! Lots of love from India!

  • @idontknow-oc5ts
    @idontknow-oc5ts 2 года назад

    this was the best scratch tutorials thank you

  • @jamieklaus4204
    @jamieklaus4204 3 года назад +2

    these are the best scratch videos i can find i think there better than griffpatch and also easy you should ave lots of likes and subs

  • @craftandtrends9450
    @craftandtrends9450 3 года назад

    It was nice I like the way you explain it makes everything very easy

  • @ParthPadwal-dc9fu
    @ParthPadwal-dc9fu 6 месяцев назад

    Thankyou It was very helpful. Our group made a project on it and its working!!

  • @ramyas690
    @ramyas690 3 года назад +4

    Hey Chris thanks a lot. I was trying it out for a week.

  • @albertoestevez7560
    @albertoestevez7560 3 года назад +5

    Hey Coding With Chris. I am a huge fan! I want to know something
    If you make videos with other programming languages, will you stop with Scratch? Or will you make it the main thing? Or make scratch a rare type of video? No matter what you decide, you’re still awesome!
    Have a good day!

  • @saritathanwani8826
    @saritathanwani8826 2 года назад

    Good job this is the best tic tac toe game in scratch!

  • @art-io1po
    @art-io1po 3 года назад +2

    Only god knows how happy I am thank you so much 🙏🏾

  • @anjanakumari6008
    @anjanakumari6008 3 года назад +1

    Hey chris! I liked this tutorial.
    Can you please make snakes and ladders game next time.

  • @-cpperclud8477
    @-cpperclud8477 2 года назад

    thank you!! it works so well and its just so fun too play so play too!!!

  • @motivationmoments24
    @motivationmoments24 3 года назад

    Just great

  • @Hani-vw9eb
    @Hani-vw9eb 3 года назад +1

    luv u thx for the tutorial

  • @firealarmchannel6382
    @firealarmchannel6382 2 года назад +4

    Thank you Chris! I got stuck but thanks to you, I made a tic tac toe game with no problem! Please make more of these wonderful projects!

  • @toasttoons
    @toasttoons 3 года назад +5

    I do really enjoy these scratch videos but I think it'd be cool if you did a few other tutorials, I'd LOVE that

    • @CodingWithChris
      @CodingWithChris  3 года назад

      toast toons yeah sure. I do wanna make some changes . Any suggestions ?

    • @toasttoons
      @toasttoons 3 года назад

      @@CodingWithChris I think it'd be cool if you did some JavaScript tutorials since I do want to learn how to start coding in JavaScript

    • @nikhilkumarjaiswal3472
      @nikhilkumarjaiswal3472 2 года назад +1

      @@CodingWithChris start sending a link to play the game you made

  • @sumank5760
    @sumank5760 3 года назад

    Hello Chris I am your now a fan of you explain very well love from india

  • @sepakpojok
    @sepakpojok 3 года назад

    Cool , Interesting , Special and awesome project

  • @gadget-maestro
    @gadget-maestro 3 месяца назад

    i like your videos make more pls

  • @pranavpratiknatarajan6782
    @pranavpratiknatarajan6782 3 года назад

    Chris this is great

  • @ictbtdimensions7880
    @ictbtdimensions7880 2 года назад

    Awesome video

  • @scratchgames9586
    @scratchgames9586 2 года назад

    This video is awesome

  • @debad1
    @debad1 3 года назад

    😍😍😍This is the best tutorial I ever had!!!!!!!!!!!!!!

  • @Dr4qon
    @Dr4qon 3 года назад +4

    These tutorials just keep getting better! Keep up the good work, Chris!

    • @CodingWithChris
      @CodingWithChris  3 года назад

      Hey thx for the support. You’ve been very nice ;)

    • @Dr4qon
      @Dr4qon 3 года назад +1

      @@CodingWithChris thank you!

  • @needleboy17
    @needleboy17 3 года назад

    I'm trying to make a tic tac toe game in Scratch too. I am using this video as a guide for making my tic tac toe Scratch project. I pause or rewind when I don't know what to do.
    Design:
    - Black and white grid made with Publisher
    - WordArt shapes (instead of an X and an O, I used a pentagon and a clover, made with WordArt.)

  • @bryanhoangbach2255
    @bryanhoangbach2255 Год назад

    Very good!

  • @saitamilsamayal7290
    @saitamilsamayal7290 3 года назад

    nice and cool this will help me learn robotics

  • @ryannguyen3100
    @ryannguyen3100 3 года назад

    I love how you explain it

  • @catlover2.075
    @catlover2.075 3 года назад +1

    Good Tutorial!

  • @felixfalafel29
    @felixfalafel29 3 года назад

    ITS GREAT

  • @MetalowyChleb
    @MetalowyChleb 3 года назад +1

    Maybe Some BIG tutorial? Maybe how to make chess?

  • @godofmachines
    @godofmachines 9 месяцев назад

    Cool, but instead of adding extra code for list searching? You could try variables for detecting which one!

  • @edgarsephoka452
    @edgarsephoka452 2 года назад

    Thank you so so much 😊😊😊😊😊

  • @sepakpojok
    @sepakpojok 3 года назад

    What an awesome project

  • @belugajr.2161
    @belugajr.2161 3 года назад +1

    Nice buddy

  • @spacerocky8856
    @spacerocky8856 2 года назад

    Thank you So much 😊 thanks

  • @GlowingProphet
    @GlowingProphet 3 года назад

    *great*

  • @haninmoujid2708
    @haninmoujid2708 3 года назад

    really chris i am farouk and really i love the way you explain i am an new scratcher and this is my 18th video i watch it and like it ok i hope ur heart my comments

  • @wizardbreath7650
    @wizardbreath7650 3 года назад

    very nice

  • @codingwithsiddarth6872
    @codingwithsiddarth6872 3 года назад +1

    nice

  • @sankalpgupta8359
    @sankalpgupta8359 3 года назад

    Very nice and interesting game and

  • @shamitakoul5274
    @shamitakoul5274 3 года назад

    BEST TUTORIAL EVER!!!!!!!!!

  • @dhruvagamer7915
    @dhruvagamer7915 2 года назад

    Its cool make more videos

  • @mastercoder8784
    @mastercoder8784 2 года назад +5

    If you want to make a tie then,
    22:21 - At this point, in the small block where he adds 9 things in a repeat 9 times loop, create a new variable named Blocks(or anything else you want) and then below add count to cells, put change Blocks count by 1.
    1.Create one more new variable, name Winner(or anything else you want) and then on top of the when green flag click set Winner to false. Also set blocks to 0.
    2.And then go into the large block that creates the AI line winner. In the same block, under every if then block, set Winner to true.
    3.Finally add a last if then under the forever loop under the when I start as clone. Put a and block on the screen and then take out 2 equals to blocks from the operators section.
    4.On one equals to block add blocks = 9 and on the other winner = false. Then inside that add a new broadcast Tie.
    5.Go to the area in the other sprite where you add the winner screen. Then make a new screen, copy and paste the winner code, and then set switch costume to tie.
    Hope this helps.

  • @ABcustomflooring
    @ABcustomflooring 2 года назад

    hii this was so much fun to make and play!! :)

  • @fatimaadreeta
    @fatimaadreeta Год назад

    Hi Chris! I don't understand how you create connection between sign num and cells. Can you please explain it? I mean logically I understand, but according to your code - it isn't working in my screen actually even though I can see its working in yours. Can you please explain why?

  • @hongthuytranthi4064
    @hongthuytranthi4064 3 года назад +2

    Could you make a multiplayer platformer game please, Chris?

  • @sunandanaik9359
    @sunandanaik9359 3 года назад

    Thanks Chris..it was very useful n understandable as well.

  • @jpgamingtv1330
    @jpgamingtv1330 2 года назад

    nice video

  • @milindp11
    @milindp11 3 года назад

    Very useful .

  • @izzie990
    @izzie990 2 года назад

    😄😄😄😄😄thank you so much Chris

  • @saitamilsamayal7290
    @saitamilsamayal7290 3 года назад

    best

  • @dboi920
    @dboi920 3 года назад

    Can you make an RPG tutorial? I would like to see how that works!

  • @cloudgamerboy9569
    @cloudgamerboy9569 3 года назад

    Nice!

  • @slashcounter6627
    @slashcounter6627 3 года назад +2

    made it so easily (to good)

  • @TuanAnhNguyen-mm2bs
    @TuanAnhNguyen-mm2bs 3 года назад

    Would you "set the toggle to 1" at the first beginning? Anh also, can you make broadcast "tie" for a tie match?
    *Sorry for my bad English! Hope you can understand!*

  • @ruhaansingh3575
    @ruhaansingh3575 3 года назад +1

    Hey Chris I asked you that when will you compile your python RUclips channel very intrigued to see it ): big fan

  • @coderarcher7122
    @coderarcher7122 3 года назад +1

    Thank You VERY VERY VERY VERY VERY VERY Much for accepting my request!!! Thank You!

  • @thebongsong2713
    @thebongsong2713 3 года назад

    Please Can you make a video on ludo game.

  • @Munnyusa
    @Munnyusa 3 года назад

    When you’re teaching u have to explain everything or else no matter how much u copied your work will be monitored and ask to be explained by you 👍🏻

  • @rajjyoti3887
    @rajjyoti3887 2 года назад

    OMG very big code :-)

  • @ThisGuyGlider
    @ThisGuyGlider 2 года назад

    You should probably add a tie screen.

  • @thegreatmidas2193
    @thegreatmidas2193 3 года назад

    Great Vid 25th Comment Yay!

  • @tpg-theprofessionalgamer3392
    @tpg-theprofessionalgamer3392 3 года назад

    Hey chris pls make the tic tac toe game that we can play with AI

  • @prashantdoi3995
    @prashantdoi3995 3 года назад

    love from India too

  • @mastercoder8784
    @mastercoder8784 2 года назад

    if anybody has a problem in the second row, it is actually 4=5 and 5=6. And then in the next line, item 4 of cells = x, instead of 3=4 and 4=5. I had a problem and that fixed it.

  • @SrivatCA
    @SrivatCA 3 года назад

    Awesome But i needed one thing
    how i can make the game draw??

  • @perfumechen
    @perfumechen 3 года назад +3

    Hi, my eight- year -old boy learned a lot from your channel, do you offer any online personal or group lessons?

    • @CodingWithChris
      @CodingWithChris  3 года назад +3

      Hi thx for watching the videos. Glad your son found my videos useful. Unfortunately I have a full time job right now and very little time for extra classes. But if this ever changes in the future I’ll announce it on the channel. Thx again

  • @David-rm1wn
    @David-rm1wn 3 года назад

    hi chris!

  • @VivaanTheCraft3r
    @VivaanTheCraft3r 3 года назад +3

    Chris You Are The Best RUclipsr I know

  • @vikasgupta2310
    @vikasgupta2310 3 года назад +4

    I'm from India and it's 6:36am now.

  • @linwang4468
    @linwang4468 2 года назад

    my project did not work out . it didn't put the x and o in the boxes they just kept dissappearing

  • @JonatasPoliglotaKidsOfficial
    @JonatasPoliglotaKidsOfficial 3 года назад +3

    0:17 I'm fine, thanks!

  • @thescratchsavy1587
    @thescratchsavy1587 3 года назад

    Hey Chris,Thnx a lot,Can u pls start the javascript tutorials for beginners becoz I am desperate to learn that

  • @quyenluong6926
    @quyenluong6926 3 года назад +2

    Chris I want X to go first so how are we going to do that?

    • @rsrk.2601
      @rsrk.2601 3 года назад

      Just change the code of o going first to x going first

  • @momeyeinter
    @momeyeinter 2 года назад

    please make an easy squid game quickly please and i sub to you and like tik tak tow video and i turn on the notification bell

  • @bhavneethscodinglab4136
    @bhavneethscodinglab4136 3 года назад

    Great I added a title screen and a play button

  • @ideepakgupta
    @ideepakgupta 3 года назад

    Hi Chris, mine doesn't work it doesnt show up o wins or x wins when they win

  • @3sisterscreateworld0191
    @3sisterscreateworld0191 2 года назад

    Hi Chris

  • @wildman-jh7hl
    @wildman-jh7hl 3 года назад

    Hey Chris you can have such a way that the x or o can be a computer

  • @notanerd3000and1
    @notanerd3000and1 3 года назад

    how long is the detecting script? There's gotta be another way.

  • @Sunil_Manohar
    @Sunil_Manohar 3 года назад

    hEY chris i have a doubt how will we make the tiie code

  • @mafercastro6536
    @mafercastro6536 2 года назад

    can you make a tutorial of what do we have to do to make a tie?

  • @milindp11
    @milindp11 3 года назад

    I have a doubt that how does the computer decides that if we click on the 8th box the sign num is 8

  • @supramgaming2142
    @supramgaming2142 3 года назад

    can you show us how to make a drawing tool?

  • @jennifercarlo5272
    @jennifercarlo5272 3 года назад

    Wow 🤩

  • @RobloxCloud245
    @RobloxCloud245 3 года назад

    Me too

  • @RealGameTitan
    @RealGameTitan 3 года назад +3

    That's a huuuuuuuuuuuuuuuuuuuuge if statement! :D

  • @RameshPal-cd4cs
    @RameshPal-cd4cs 11 месяцев назад

    Please show final code fully. Please make it easy such that every body can finally do the job.

  • @keerthanad5794
    @keerthanad5794 2 года назад

    I have a doubt, what must be done when the game ties

  • @WonkyFrank
    @WonkyFrank 3 года назад +1

    Chris I really really need help on 3D maze I’m using the scratch app it call scratch 2 offline editor when I’m in the maze it count that I’m in the maze so it will always be distance 0

    • @CodingWithChris
      @CodingWithChris  3 года назад

      Hmmm no idea why. Why don’t u use scratch 3?

    • @milindp11
      @milindp11 3 года назад

      @@CodingWithChris I have a doubt that how does the computer decides that if we click the 5th box the sign num is 5

  • @sepakpojok
    @sepakpojok 3 года назад

    Arena multiplayer battle game will be fun more than tic-tac-toe game.

  • @lil_Wayyy
    @lil_Wayyy 3 года назад +4

    I nee some help so whenever X wins the second Sprite never pops up and same with when O wins the second Sprite doesn't pop up. (Edit: Never mind man I just figured it out and thanks for the tutorial!)

    • @OfficialMythicalMemes
      @OfficialMythicalMemes 3 года назад

      can you say the suloution cuz im stuck plszzzzz help me

    • @lil_Wayyy
      @lil_Wayyy 3 года назад

      @@OfficialMythicalMemes Here bro go on my project and look inside and copy the code i used

  • @debad1
    @debad1 3 года назад

    can you make a tutorial on how to make a slider game?

  • @GDPlainA
    @GDPlainA 3 года назад

    I just made one with an AI but I feel like the code could be optimized

  • @momeyeinter
    @momeyeinter 2 года назад

    and forgot to say cause thank you chris

  • @victorbravo2883
    @victorbravo2883 3 года назад

    i alredy have my homework for my class of technology

  • @joannephie9790
    @joannephie9790 3 года назад

    hiiiii, thank you so much for this tutorial. How would you code it so that when there's a tie the AI would recognize it?

    • @CodingWithChris
      @CodingWithChris  3 года назад

      You can keep track of all blocked that were clicked, if 9 blocks clicked and no winner then it’s a tie ;)

    • @joannephie9790
      @joannephie9790 3 года назад

      @@CodingWithChris thank you so much

    • @user-gy7vj5qi7t
      @user-gy7vj5qi7t 2 года назад

      @@CodingWithChris ok

    • @crowthehuman896
      @crowthehuman896 2 года назад

      @@CodingWithChris how do you do this

    • @mafercastro6536
      @mafercastro6536 2 года назад

      how do you do this?