Tic Tac Toe with AI – Python Tutorial (Part 1)

///Tic Tac Toe with AI – Python Tutorial (Part 1)

Tic Tac Toe with AI – Python Tutorial (Part 1)

FavoriteLoadingAdd to favorites

In this video I explain how to create a tic tac toe game in python using a simple AI. This is an intermediate level tutorial and is extremely useful in enhancing your skills with python and gives a basic introduction to AI. This is a text based tutorial but everything used here can be implemented into a graphical version.

Download the Code:

Twitter:

Want To Support This Channel?
Bitcoin: 1PbkAYLFaJBgjbKn2ptGyBz65xWN8hJgBU
Ethereum: 0xdd42dbbdba60f7163fc7a840e189474b6e8bfcad
Ripple: rD4arM9CVjQWqi8f1kxdpCgkCgEkqBgtud

Please leave a LIKE and SUBSCRIBE for more content!

Tags:
– Tech With Tim
– Python Tutorials
– Tic Tac Toe
– Python
– Python tic tac toe
– Coding tic tac toe in python
– Python tic tac toe tutorial

source

By |2019-04-18T16:59:05+00:00April 18th, 2019|Python Video Tutorials|10 Comments

10 Comments

  1. Tech With Tim April 18, 2019 at 4:59 pm - Reply

    Download the full code from the link below!

    https://pastebin.com/embed_js/K8x8UvPS

  2. Kristy Whalen April 18, 2019 at 4:59 pm - Reply

    (1) Why do you have two methods compMove() of the same name? I'm asking that before watching the video, but I'm sure others would wonder the same thing!
    (2) why not just clear the screen and THEN print the board? that would eliminate the scrolling or running down the shell.
    (3) In the Tic Tac Toe game I made using JavaScript I put the winning combinations in an array as strings, and then looped through the array, comparing the digits of the value (or rather their board equivalent elements) for a match with the box clicked. My version is at –> https://codepen.io/kristynagel72/pen/MxNBZm

  3. Fawad Imran April 18, 2019 at 4:59 pm - Reply

    What song do u use in the intro

  4. Mr Lazy April 18, 2019 at 4:59 pm - Reply

    which algorithm is used in this tic tac toe ?

  5. Mr Lazy April 18, 2019 at 4:59 pm - Reply

    which algorithm is implement to solve this tic tac toe ?

  6. Simon Maghiar April 18, 2019 at 4:59 pm - Reply

    I like this tutorial because you explain everything very clearly! Looking forward to part 2!

  7. BLACK CAT April 18, 2019 at 4:59 pm - Reply

    keep on doing what you are doing, keep uploading regularly, I sincerely believe this channel gonna be huge in near future.

  8. James Cain April 18, 2019 at 4:59 pm - Reply

    You have two bo[6] on the same line; you didn't change the last number in bo[6] to bo[8]

  9. Aina Nie Weeds April 18, 2019 at 4:59 pm - Reply

    Thank you! Your tutorial series is simple yet so informative.

  10. Nathan Corry April 18, 2019 at 4:59 pm - Reply

    Just finished your Pygame Tutorial and can't wait to follow this. Your channel is gonna be huge

Leave A Comment

*