Tic Tac Toe Java Game in Under 15 Minutes

Поділитися
Вставка
  • Опубліковано 7 жов 2024

КОМЕНТАРІ • 204

  • @KunalKushwaha
    @KunalKushwaha  2 місяці тому

    DSA + interview preparation playlist: ua-cam.com/play/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ.html

  • @rahulshrivastava3041
    @rahulshrivastava3041 Рік тому +121

    just started the dsa course of kunal, can say it is the best we can have , kunal please complete it whenever you get the time. your teaching skills are mind blowing.

    • @sejalshrivastava9964
      @sejalshrivastava9964 Рік тому

      In which year you are

    • @ahmedzaidi4228
      @ahmedzaidi4228 Рік тому +1

      its incomplete

    • @newbieguy2509
      @newbieguy2509 Рік тому +5

      @@ahmedzaidi4228 thats y he is requesting him to complete it lmao , maybe u didnt read

    • @bipg480
      @bipg480 Рік тому

      hello sir I am a newbie in DSA so can you plz tell me that which topics of DSA completed by Kunal and which topics are incomplete in his DSA playlist
      thanks

    • @ajinkya2853
      @ajinkya2853 Рік тому +2

      Bhai tune uska previous video nhi dekha kya? Usme saaf saaf bol diya...wo series complete nahi karega.... Apna personal time kyu de wo...aisa bol raha tha...

  • @pratyushkumar8351
    @pratyushkumar8351 Рік тому +40

    Your DSA content is amazing please resume the course , eagerly waiting for it !

    • @thr6453
      @thr6453 Рік тому

      Hi Pratyush, from where have you covered rest of the topics which were not taught in Kunal's DSA course?

    • @Kunaltwts
      @Kunaltwts Рік тому

      ​@@thr6453 cover it from codeforcause

    • @KesavikaJaanu
      @KesavikaJaanu 13 днів тому

      @@Kunaltwts hey guys what is DSA

  • @sandhiyas5828
    @sandhiyas5828 Рік тому +25

    Kunal please complete this DSA course. We really need this course to finish completely .... your teaching style amazing.need videos on trees, graphs, and dynamic programming and some of the algorithms also

  • @RahulKumar-md5ml
    @RahulKumar-md5ml Рік тому +15

    Plz keep Java project continue sir , the way u teach is amzingggg !!!!!!❤❤❤❤

  • @sudhanshukushwaha6351
    @sudhanshukushwaha6351 Рік тому +12

    need more such java DSA project. keep continuing legend😍

  • @shwetaverma3154
    @shwetaverma3154 Рік тому +8

    Kunal your way of teaching is amazing..plz complete the course.

  • @rakshitchennagiri734
    @rakshitchennagiri734 Рік тому +17

    hey kunal, been following your dsa bootcamp for a while. the teaching has been excellent. Please do complete the course asap! eagerly waiting

  • @akashpradhan6502
    @akashpradhan6502 Рік тому +6

    Kunal plz plz plz complete the dsa course.Your teaching is amazing. We really need this.

  • @beerusgaming7
    @beerusgaming7 Рік тому +40

    Your DSA course is amazing man. You're such a legend

    • @chiragawasthi2261
      @chiragawasthi2261 Рік тому +3

      i really hope he completes that course ASAP

    • @ahmedzaidi4228
      @ahmedzaidi4228 Рік тому

      bro its incomplete like wtf

    • @newbieguy2509
      @newbieguy2509 Рік тому +4

      @@ahmedzaidi4228 u r not the only one who knows it xd

    • @bipg480
      @bipg480 Рік тому

      ​@@chiragawasthi2261 hello sir I am a newbie in DSA so can you plz tell me that which topics of DSA completed by Kunal and which topics are incomplete in his DSA playlist
      thanks

    • @ritikasinghchauhan_06
      @ritikasinghchauhan_06 Рік тому

      what about tree and graph tutorial?

  • @shubhamagarwal1434
    @shubhamagarwal1434 11 місяців тому +1

    # GOD Of DSA
    Hi I am a 11yr exp java guy was searching for some free course on youtube for DSA came accross your course and i just feel love in it...all in one place that too with java...i must say you have done very awsome work...your name will be there on this earth as long as DSA will be asked in interviews...May God Vishnu Bless You :)

  • @StangeButCute
    @StangeButCute Рік тому +8

    HELLO KUNAL, STILL WAITING FOR COURSE VIDEOS WHICH ARE STILL NOT UPLOADED. This course is really very good. Please upload the remaining videos also....

  • @samyakjain6665
    @samyakjain6665 Рік тому +3

    Hey @Kunal Kushwaha, Bhaiya please resume the dsa course, eagerly waiting for that!!!

  • @captinspark6665
    @captinspark6665 Рік тому

    Kunal please complete this DSA course. We really need this course.. and your teaching style amazing..

  • @ManishKumar-jz2jr
    @ManishKumar-jz2jr Рік тому +2

    Hi sir. Please complete this course. You are great

  • @shreyanerkar9120
    @shreyanerkar9120 Рік тому +1

    please let us know when ur going to complete the dsa playlist because just few important topics are remaining to complete the DSA playlist . Please Kunal do it for us . Lots of people loving this DSA cource and ur way of explaining the concepts is just mind blowing so we just want to learn the reaining topics from u only . Literally i don't want to switch to another channer for DSA after watching ur videos, please its a request by heart please just complete those topics .

  • @sdt9448
    @sdt9448 Рік тому +5

    Hey Kunal please complete the DSA course ASAP.

    • @bipg480
      @bipg480 Рік тому

      hello sir I am a newbie in DSA so can you plz tell me that which topics of DSA completed by Kunal and which topics are incomplete in his DSA playlist
      thanks

  • @Power_OfWisdom
    @Power_OfWisdom Рік тому +1

    Hey, Kunal please complete the DSA bootcamp........ eagerly waiting for the video since last month !!

  • @shree347
    @shree347 Рік тому +14

    Need more Java tutorials like this

    • @snehaagrawal6648
      @snehaagrawal6648 Рік тому

      isme java puri sikhayi h kya????????

    • @shree347
      @shree347 Рік тому

      @@snehaagrawal6648 English please?

    • @snehaagrawal6648
      @snehaagrawal6648 Рік тому

      Is this playlist is complete nad sufficient for learning java from scratch to advance

    • @shree347
      @shree347 Рік тому +1

      @@snehaagrawal6648 you can learn from scratch to core Java concepts well. Java is completed upto core Java concepts.

    • @snehaagrawal6648
      @snehaagrawal6648 Рік тому

      @@shree347 dsa is not completed in this series how many topics aree still yet to cover???

  • @kartikverma6988
    @kartikverma6988 Рік тому +1

    KK’s DSA series totally 🔥

  • @EBREditz
    @EBREditz 5 місяців тому

    thanks so much

  • @shivraj940
    @shivraj940 Рік тому +4

    Kunal, we are waiting for the next chapter : Trees. Please do it whenever you get time

  • @memories8037
    @memories8037 Рік тому +3

    Love you kunal you are the best

  • @chiragawasthi2261
    @chiragawasthi2261 Рік тому +6

    bhaiya plz i genuinly beg you to complete DSA course ASAP its been a year since we started this journey and now placements are within 2 months plz bhaiya

    • @bipg480
      @bipg480 Рік тому +1

      hello sir I am a newbie in DSA so can you plz tell me that which topics of DSA completed by Kunal and which topics are incomplete in his DSA playlist
      thanks

  • @priyojitsingha
    @priyojitsingha Рік тому +13

    only after kunal's dsa course is complete I can die peacefully

    • @shreyxnsh.14
      @shreyxnsh.14 Рік тому +13

      immortal

    • @bipg480
      @bipg480 Рік тому +1

      hello sir I am a newbie in DSA so can you plz tell me that which topics of DSA completed by Kunal and which topics are incomplete in his DSA playlist
      thanks

    • @priyojitsingha
      @priyojitsingha Рік тому +1

      @@bipg480 I think trees, graphs and dynamic programming is not done till now, If I'm wrong anyone please correct it.

    • @Noname-sn6ty
      @Noname-sn6ty Рік тому

      Congratulations on unlocking immortality

    • @thr6453
      @thr6453 Рік тому

      Hi Priyojit, from where have you covered rest of the topics which were not taught in Kunal's DSA course?

  • @jayramkumar2284
    @jayramkumar2284 Рік тому +4

    Please upload video on Tree graph in DSA series

    • @chiragawasthi2261
      @chiragawasthi2261 Рік тому +3

      i tottaly agree with you brother its been a year we started this wonderful journey

  • @Utkarshguptayoutube
    @Utkarshguptayoutube Рік тому +2

    you are amazing teacher..! can you tell me by when all the videos will be uploaded of this course(playlist)?

  • @alokkumarjha600
    @alokkumarjha600 Рік тому +1

    why did your android development community shut down? please help me out I am a first year trying to learn android development and have been watching your java DSA playlist for quite a while . I see you as my first mentor in my tech journey and hope your classroom community comes back again

  • @oldguardkiller8408
    @oldguardkiller8408 Рік тому +1

    Thanks For your Efforts

  • @mdfaiz1959
    @mdfaiz1959 Рік тому +1

    Eagerly waiting for your tree series😄

  • @mehranmushraf1277
    @mehranmushraf1277 Рік тому +2

    Kunal DSA ka next video upload karo bhai eagerly waiting ❤

  • @duggusoftware368
    @duggusoftware368 Рік тому

    Please add trees and graph concepts also. We need it .your course is amazing.

  • @rohitverma1344
    @rohitverma1344 Рік тому +1

    Please continue the the dsa bootcamp

  • @arigelashiva727
    @arigelashiva727 Рік тому +1

    Kunal upload the dynamic programming videos trees videos

  • @vishalkumar.s9679
    @vishalkumar.s9679 Рік тому +1

    Thanks,continue the series

  • @saumyasrivastava2002
    @saumyasrivastava2002 Рік тому +4

    Please do some videos on trees, graphs, and dynamic programming also

  • @sushantsyt
    @sushantsyt Рік тому

    Lessss goooo! As always great work

  • @sanukumar6811
    @sanukumar6811 Рік тому +1

    please cover the graph and tree topic as soon as possible

  • @anoop3056
    @anoop3056 Рік тому

    Amazing video Kunal Sir

  • @Eswar.
    @Eswar. Рік тому +1

    Please do more like this

  • @prashlovessamosa
    @prashlovessamosa Рік тому +1

    Thanks for sharing bahiya.

  • @amansayer4943
    @amansayer4943 Рік тому +1

    he is going to complete this data structures bootcamp

  • @vibhusati7673
    @vibhusati7673 Рік тому +1

    @kunal Please tell us about your plans of completing it?

  • @tusharkumar303
    @tusharkumar303 Рік тому +1

    Please sir complete the course

  • @mandyuniverse5090
    @mandyuniverse5090 Рік тому +1

    please complete the dsa course

  • @sourakantimandal6026
    @sourakantimandal6026 Рік тому

    Please continue this series...

  • @yashishrani8372
    @yashishrani8372 Рік тому +1

    Thank you guruji 🤲

  • @Prince-hy9ng
    @Prince-hy9ng Рік тому +1

    Please kunal suggest which development is better for full stack development or any other course which is better

  • @rashikaagrawal6816
    @rashikaagrawal6816 4 місяці тому

    I have a doubt, in the code given for checking haveWon we are checking each row, column and diagonal but I think it's not necessary as the only possible win could be in the row, column or diagonal the player has made move in so i think we should only check that.
    I made the program that way and it works!!

  • @smilingstarsomu975
    @smilingstarsomu975 Рік тому +2

    But what if all boxes fill ,the code will get infinity right ,I think you are not added draw match condition

  • @physicslover3136
    @physicslover3136 Рік тому

    plz complete your dsa course tree,graph and dp

  • @abdooman1556
    @abdooman1556 8 місяців тому

    Great video, but you forgot to check if the Board is full and when to terminate the game

  • @rohithvankadaru1307
    @rohithvankadaru1307 Рік тому

    Great man

  • @AbhishekKumar-mv7pb
    @AbhishekKumar-mv7pb Рік тому

    Kunal please complete dsa course I had stuck at stack and queues

  • @tejaswilog3946
    @tejaswilog3946 Рік тому +1

    Please upload more

  • @SAURABHKUMAR-lw7dz
    @SAURABHKUMAR-lw7dz Рік тому

    bhai you should complete the dsa course

  • @bloopers5145
    @bloopers5145 Рік тому

    Kunal when are you going to upload a topic about HashMap and HashSet

  • @crazywala7555
    @crazywala7555 Рік тому +1

    Ye kab complete hoga sir

  • @ITVishal
    @ITVishal Рік тому +1

    BHAI SAAB AAP BHOOL GAYE H KI KOI COURSE START KIYA THA, kindly complete DSA+JAVA please.

  • @SachinKumar-zl8ke
    @SachinKumar-zl8ke Рік тому +1

    Learn something new , 😊🎉
    In this project,
    player 1 vs cpu instead of 2 player . Is this possible

    • @MO-fg2cm
      @MO-fg2cm Рік тому

      There might be some Tic tac toe API .... Check them out

  • @Mr_Eagle-m6n
    @Mr_Eagle-m6n Рік тому

    Bhaiya i want to say that please complete the syllabus of the that you told ..we are waiting for the vedios.... Topics like dp tree graps etc .. we really really need it........ If it's take can you please something to mee please bhaiya.....🥺🥺 I am....such in trouble

  • @mrplays4492
    @mrplays4492 Рік тому

    Please resume this course

  • @meenachand1274
    @meenachand1274 Рік тому

    Good one

  • @yashkumarsingh9713
    @yashkumarsingh9713 Рік тому

    sir, please continue the dsa course

  • @yashpalsinhzala5222
    @yashpalsinhzala5222 Рік тому +1

    Great work plzz make some more videos in java series loved it

  • @_man.on.strings__
    @_man.on.strings__ Рік тому

    ye kitne salo ki mehnt se ati h cheeze?? hats of man

  • @alonewolf7682
    @alonewolf7682 Рік тому

    Nice

  • @Thomas17_
    @Thomas17_ Рік тому

    Kunal what's your thought about Elon Musk's new decision with Twitter!!

  • @KunalKushwaha
    @KunalKushwaha  Рік тому +1

    Code (fork it to see the solution): replit.com/@KunalsReplit/TicTacToe
    Join Replit: join.replit.com/kunal-kushwaha

  • @asher4312
    @asher4312 Рік тому

    Eazii 🙌🏻🙌🏻

  • @debrajdas7644
    @debrajdas7644 Рік тому

    Add the draw condition also

  • @balajik1638
    @balajik1638 Рік тому +2

    @kunal you are planning to finish this bootcamp on 2025 😢?

  • @princevegeta-pj1ei
    @princevegeta-pj1ei Рік тому

    complete DSA Course pls

  • @anuragsanu8881
    @anuragsanu8881 Рік тому

    When will the DSA bootcamp be completed🤔

  • @absingh773
    @absingh773 2 місяці тому

    7:56 game is also over when all elements are placed

  • @codeDudee
    @codeDudee Рік тому +1

    15:52 I don't want ex to win

  • @bala-OG
    @bala-OG Рік тому

    Good video ✨

  • @yugamsaini8761
    @yugamsaini8761 Рік тому

    when you are going to upload trees lecture?

  • @ishanshaikh1391
    @ishanshaikh1391 Рік тому

    sir finally course kb tk complete hojaega complete.

  • @phoenixmaster3837
    @phoenixmaster3837 Рік тому

    What about conditions when there is a draw or no playable moves??

  • @padha_subscribe_cheiu
    @padha_subscribe_cheiu Рік тому +3

    Bro plz continue DSA course waiting for ur course (trees , hash , etc) prepare for placement,no more time bro plz try to upload trees atleast in this month plz plz

  • @ayushreviews8970
    @ayushreviews8970 Рік тому

    When are you going to teach us trees and graph

  • @ompatil5501
    @ompatil5501 Рік тому

    public static boolean isBoardFull(char[][] board) {
    for (int row = 0; row < board.length; row++) {
    for (int col = 0; col < board[row].length; col++) {
    if (board[row][col] == ' ') {
    // Found an empty space, so the board is not full
    return false;
    }
    }
    }
    // If no empty spaces were found, the board is full
    return true;
    }

  • @LavishGupta-wk3pk
    @LavishGupta-wk3pk Рік тому +2

    I am starting kunal's DSA course.....
    So I want to know, how much percentage of his DSA course is complete???

    • @kushagraahire1871
      @kushagraahire1871 Рік тому

      Approximately 40%

    • @karadparth
      @karadparth Рік тому +1

      I would say finish it, it's incomplete in term of few data structures but the learning experience with practice of current data structures would give you solid base to study remaining DS on your own

    • @amansayer4943
      @amansayer4943 Рік тому

      start it blindly

    • @jagjitsingh-bp5vl
      @jagjitsingh-bp5vl Рік тому

      Start it.. it's designed in a way that by the time you reach at the last video you will have a solid base to kick start on your own...

    • @snehaagrawal6648
      @snehaagrawal6648 Рік тому

      isme java puri ho gyi kya

  • @selfsufficient1987
    @selfsufficient1987 Рік тому

    Is this last video of the series?

  • @mdfarhan8433
    @mdfarhan8433 Рік тому

    Kunal bhai Binary Tree ka lecture daal do bhai please

  • @mohdasrar4378
    @mohdasrar4378 Рік тому

    Bro please upload Hashing videos we are waiting alot

  • @MO-fg2cm
    @MO-fg2cm Рік тому +1

    Hey how to convert to GUI ...... I will try it out

  • @DevRawal-u6c
    @DevRawal-u6c Місяць тому

    Bhaiya ye konsa app he jispe ap code kar rahe the please batado,🙏🙏

  • @sanskarjeswani2938
    @sanskarjeswani2938 6 місяців тому

    But if the game is draw it is not showing any message rather it is continuing the game

  • @Upload-i6g
    @Upload-i6g 7 місяців тому

    Can anyone tell me why the current player switches when the game is not over

  • @ritikasinghchauhan_06
    @ritikasinghchauhan_06 Рік тому

    what about tree and graph tutorial?

  • @AeVedya0
    @AeVedya0 10 місяців тому

    meaning of chat please explain?

  • @hemantagrawal1122
    @hemantagrawal1122 Рік тому +1

    Is he going to finish the DSA course?😍

    • @piyush9666
      @piyush9666 Рік тому

      imo never, chutiya kaat dia bhai ne mera, m socha tha ki padha dega 3-4 months m, isse accha babbar bhaiya wale se padh lo.

  • @prajwaldhatti8872
    @prajwaldhatti8872 Рік тому +1

    😢bro please resume with trees, graphs and all placements will be held very soon

  • @sureshmanne7245
    @sureshmanne7245 Рік тому

    did you share this code somewhere for reference ?

  • @suvammondal698
    @suvammondal698 Рік тому

    graph videos kunal bhayiya

  • @NunavathRajendar-e3x
    @NunavathRajendar-e3x 5 місяців тому +1

    public class TicTakToe {
    public static void main(String[] args) {
    int n=4;
    char[][] ch=new char[n][n];
    TikTokToe(ch);
    display(ch);
    }
    private static void TikTokToe(char[][] ch) {
    Scanner sc=new Scanner(System.in);
    System.out.println("Lets start the game");
    boolean gameOver=false;
    boolean wrongEnter=false;
    char player='x';
    while(!gameOver) {
    System.out.println("Enter the ordinates of "+player);
    int row=sc.nextInt();
    int col=sc.nextInt();
    if(ch[row][col]!='x' && ch[row][col]!='o'){
    ch[row][col]=player;
    display(ch);
    wrongEnter=false;
    }else {
    System.out.println("Please Enter the right coordinates");
    wrongEnter=true;
    }
    gameOver=isGameOver(player,ch,row,col);
    if(gameOver) {
    System.out.println(player+" won");
    }
    if(!wrongEnter) {
    if(player=='x') {
    player='o';
    }else {
    player='x';
    }
    }
    }
    }
    private static boolean isGameOver(char player,char[][] ch,int row,int col) {
    // checking for row
    if(row>=0 && row=0 && col>> you can also use this code to play the game in any " N " size board . For simplicity of code i wrote it in a broad way you can also minimize it..

  • @raja_babu610
    @raja_babu610 Рік тому

    Need more videos

  • @helloworld4788
    @helloworld4788 Рік тому

    Need more projects