Code Tic Tac Toe Game in JavaScript HTML CSS

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

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

  • @cdaaniel
    @cdaaniel Год назад +5

    Hey man, I wish I found you're channel when I got started. The way you explain is beginner-friendly and your drawings also help. Keep it up bro🙌

  • @robparent1261
    @robparent1261 2 года назад +11

    This is the best walkthrough I've seen so far ... by far! Well done. And thanks!

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

      Glad you found this tutorial helpful! Make sure to subscribe to see more tutorials like this !

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

      @@KennyYipCoding already did!

  • @tusharmalhotra3228
    @tusharmalhotra3228 2 года назад +10

    why dos this have no views this is the easiest tutorial ever nice man

    • @KennyYipCoding
      @KennyYipCoding  2 года назад +6

      maybe one day, there will be more views!

    • @Aankit9000
      @Aankit9000 6 месяцев назад

      ​@@KennyYipCodingYepp and thanks for making it

    • @AnmolYadav-xn7wz
      @AnmolYadav-xn7wz 6 месяцев назад

      @@KennyYipCoding now there are !

  • @KennyYipCoding
    @KennyYipCoding  2 года назад +2

    If you enjoyed the video, don't forget to like, subscribe, and share! :)
    how to code WORDLE: ruclips.net/video/ckjRsPaWHX8/видео.html
    how to code SUDOKU: ruclips.net/video/S4uRtTb8U-U/видео.html
    how to code CONNECT 4: ruclips.net/video/4ARsthVnCTg/видео.html
    how to code 2048: ruclips.net/video/XM2n1gu4530/видео.html

  • @kamarajp1932
    @kamarajp1932 2 года назад +2

    Omg! I found the best 👍💯tutorial ever
    Thank you 🙏🙏

  • @siempreretro
    @siempreretro Год назад +2

    Nice tutorial!
    I made this game, but with buttons 🙂

  • @KngAb
    @KngAb 8 месяцев назад +1

    can you create one where you play against the computer

  • @hriyanshah6287
    @hriyanshah6287 3 месяца назад

    thank you this changed my life😀😄😊

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

    Very Good explanation 👍👍👍

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

    beautiful tutorial

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

    Hey bro great video I have a doubt in line 11 how do you set values of board array in 'r' and 'c'

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

    please make a function for when the game is tied in this code

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

    what if we got draw ??

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

    Great! Brilliant!

  • @renishsalakhana5603
    @renishsalakhana5603 2 года назад +2

    what if game is tie then ...can you please make function for check tie ??

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

      you can add an else condition, if none of the other conditions are met its a tie

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

    Hi, im new js learn, i want learn javascript, but i still don't understand, 12:39 what let r let c mean, can you explain pls and board [r][c], how it does works, thnx you very much

  • @AdityaKumar-bf9yn
    @AdityaKumar-bf9yn 2 года назад

    please make video or short on draw too!

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

    Function to check Game Tie:
    function checkTie()
    {
    let count = 0;
    for(let r=0;r

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

    i am not able to refrese the css code

  • @YoRu-Cat
    @YoRu-Cat 10 месяцев назад

    im new to coding. im encountring an issue that my borders are not showing i even tried using z-index but in vain. Welp

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

    Hey thanks man that was helpful but I need a favour can you make it so after winner is decided a line comes up on the winning tiles

  • @islombekganiyev
    @islombekganiyev 6 месяцев назад

    good ,no the best

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

    hello
    so i wrote everything in the code the exact same
    but when i added the
    if(board[r][c] != ' '){
    return;
    }
    it becomes unclickable
    Pls help

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

      You have a bug somewhere, you can right click on the web page -> inspect, and go to console to see if anything gets printed out. If not, if you click on the GitHub link in the video description, you can compare the code like by line to see where you wrote something differently.

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

      @@KennyYipCoding Ok thanks I will try it out

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

    can we build tic tac toe using constructor???

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

      not sure what you mean by that but you could try playing around with the code, changing it up or moving things around!

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

    Can anyone guide me the procedure to run this on any mobile phones

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

      Hi, I have a tutorial on my channel on how to host your website for free on GitHub. After you host it, just enter the link on your phone

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

    WOW😊💯

  • @necronomicon-xmortis9362
    @necronomicon-xmortis9362 5 месяцев назад

    im convinced that your a time waister

    • @KennyYipCoding
      @KennyYipCoding  5 месяцев назад

      You’re * a time waster*
      Anyway feel free to elaborate what you mean !