Python Project: Tic Tac Toe Game in Python 🔥

preview_player
Показать описание
Today we are going to create a tic tac toe game using the python programming language. This video will teach you the way to create a nice and easy playable tic tac toe game in python!

python, C, C++, Java, JavaScript and Other Cheetsheets [++]:

►Learn in One Video[++]:

►Complete course [playlist]:

Follow Me On Social Media
Comment "#HarryBhai" if you read this 😉😉
Рекомендации по теме
Комментарии
Автор

the fact that he started the project without any introduction shows that how much he cares about our time

natyacodes
Автор

Code with Harry : "God of coding "

Very hard working programming tutor I have ever seen on YouTube ❤️

arpancs
Автор

Old Harry is back with Python Projects 🤣

haha-poro
Автор

Harry Bhai .. yes we need a latest python 2022 course
Thank you for your effort ..
respect ✌✌

daredevil
Автор

Blessed to have you sir!!!😇
We would love to see a latest python playlist 🔥🔥🔥

ysedits...
Автор

Yes we want powerful python course 2022 regarding placements plz make videos as soon as possible
Truly, Your vides are really helpful
Plz start as soon as possible

PalakGupta-bikt
Автор

Explained the project and code in very simple way. That's the beauty of your teaching. I have seen the same projects on you tube, but simplicity and quality, one can find here only.

mycodetricks
Автор

These python projects are very useful
Thank you Harry.

sauravgawali
Автор

Yes, we need the latest Python course for 2022.

sakalagamingyt
Автор

I actually loved the way you built the logic on the go!!

techwithsam
Автор

Yes sir we would be happy to see Your Python 2022 Tutorial Because your teaching and coding skills are so good we want a Python 2022 course from you!!

prabaljotthetechguy
Автор

Yes we need python project like this ❤️

priyankmalviya
Автор

Old harry is back with python projects 😂 👍

addictedcoderz
Автор

Yes sir we would Love to see Your Python 2022 Tutorial Because your teaching and coding skillls are so good we want a Python 2022 course from you!! ❤❤❤❤❤❤

dhairyachavand
Автор

Yes we want new Python course in version 3+

sandeepmalviya
Автор

Oh my goodness what a chance!
I am currently learning react js from the documentation in which they are explaining the code of a tic tac toe game in react and suddenly the notification pops up about tic tac toe by harry

haha-poro
Автор

I got selected in a Capgemini😍Training is started already and I got a domain as AWS + PYTHON + PYSPARK🥰So can u please make a video on this topics to cover all the basic concepts in detail😁Please please I need this course🙏🙏

supriyabharambe
Автор

Thanks for an amazing Tutorial Harry Bhai!

I personally attempted it first and then viewed your video, just so I could compare & improve!

I took the following approach:

- I made a single string for the board and to update the board I simply used .replace() method.
(This had nothing to do with the computation, just for representation purpose)

- To keep track of all changes, I basically had 4 lists:
A. One for the player (your changes): []
B. One for the second player or the computer (based on the option chosen, also if you play against computer you can choose between Easy | Hard )
C. One for all moves used: List in A + List in B
D. Last was a list comprehension, available options = [option for option in options (C) if option not in C]

- Using conditions, was able to:
A. Take Inputs, Change Turns on Each Game and Update Scores!

- Computer Logic was as follows:
A. Attempt to go for the win if possible (used Nested Loops) | B. If A fails, go for the block if possible | C. If both (A & B) fails go for a random number from the available options,
all of this was done in as few as 15 Lines!

Looking forward to improving it using Tkinter (by giving it a GUI)!

Thanks Again!

Hex-Scholar
Автор

Thank you so much sir for giving an amazing content 🙏

kirtiawasthi
Автор

I also created tic tac Toe in python some days before

computerlover