TicTacToe using Unity - Part5 (A.I./CPU Player)

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

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

  • @boomerangaming
    @boomerangaming 28 дней назад +1

    Amazing playlist, Thank you so much for such elaborative explanations

  • @timeTrial4617
    @timeTrial4617 4 года назад

    just what i was looking for, Thanks

    • @TechmonIn
      @TechmonIn  4 года назад

      I am glad you liked it. 😃

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

    38:27, for me it tooks loong to calculate cpu's move and some times it returns -1 witch is not possible position to nought

  • @timeTrial4617
    @timeTrial4617 4 года назад

    I have made a button of play again, just missing the method to implement it can u help me what code and where to write it on script, cause my method make it play again but it don't remember the gamemode it is in

  • @SouravKumar-mo2bz
    @SouravKumar-mo2bz 4 года назад

    Sir, when you gonna upload the next video

  • @SouravKumar-mo2bz
    @SouravKumar-mo2bz 4 года назад

    Hi sir, when are u going to publish the next video of this tutorial... I am eagerly waiting f d video

    • @TechmonIn
      @TechmonIn  4 года назад

      Hi Sourav, I will take few days. So, please stay tuned.

  • @SouravKumar-mo2bz
    @SouravKumar-mo2bz 4 года назад

    sir can you please attatch the gamescript here... because in the last portion u were very fast so it cant be understand

  • @nareshkhandla
    @nareshkhandla 4 года назад

    Hello, I want to make 4x4 to 10x10 grid of TicTacToe game, so can you please give me instruction or help me, how to create it.

    • @TechmonIn
      @TechmonIn  4 года назад

      It's a good idea and will add complexity to the game. It will work in same way as being shown in the videos.
      Below parts will require to be changed.
      1) To create 10x10 grid instead of 3x3
      2) Change the winning, loosing & draw conditions
      3) Change the way Bar is being spawned as the coordinates will change. Also, currently there are only 8 ways bar can be spawned but in 10x10 case there will be 10+10+2, i.e. in total 22 different ways (assuming the winning conditions will be same, entire row or columns covered or the two diagonals)
      4) The AI logic will required to be updated. Since, the depth of the Alpha-beta tree will increase and it will be better to limit the search space by height which can also be parameter to control the difficulty level. Meaning search till the depth of node 10 for easy mode, 15 for normal and 30 for difficult.
      Hope these pointers will be helpful. Let me know in case you have any other questions.

    • @nareshkhandla
      @nareshkhandla 4 года назад +1

      @@TechmonIn Thank you so much for your instance replay, Second one is, I have faced the issue in when i change the AI logic in 4x4 grid to 10x10 grid. My Issue is Hang my pc when i set the AI login of different grid. Please help me.

  • @SouravKumar-mo2bz
    @SouravKumar-mo2bz 4 года назад

    My friends are facing d problem too

    • @TechmonIn
      @TechmonIn  4 года назад

      Hi Sourav,
      The entire game folder along with the scripts and assets has been uploaded here - github.com/Tech-Mon/TicTacToe

    • @SouravKumar-mo2bz
      @SouravKumar-mo2bz 4 года назад +1

      @@TechmonIn thankyou so much

    • @TechmonIn
      @TechmonIn  4 года назад

      You're most welcome 😀

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

    I followed your previous videos and it was well done. But the part 5 is not what I expected...
    The son quality was not bad, I couldn't get the mode vs CPU to work correctly.
    You didn't create a refresh button to play again.
    This video was not helpful for me. Fortunately it helped others.
    Part 1 to 4 was cool and I learned new things thanks to your tuto. Thank you so much for that!!
    but this video was not helpful for me...