CODE WITH ME | Tic-Tac-Toe Game in Python *beginner friendly*

  Рет қаралды 83,444

CS Jackie

CS Jackie

Күн бұрын

Пікірлер: 184
@CSJackie
@CSJackie 4 ай бұрын
Hope this video inspired you to code your own silly game :) GitHub repo: github.com/carmensantos/tic-tac-toe Use code *CSJACKIE* for a discount on creators.riverside.fm/csjackie if you're interested! It's great for turning YT videos into Shorts. Have fun friends
@adikisela409
@adikisela409 4 ай бұрын
Just watching you is inspiring..
@Lord_Atajan
@Lord_Atajan 4 ай бұрын
May i marry you ❤
@md-code9019
@md-code9019 4 ай бұрын
Islam: The True Religion of God? - Abdur-Raheem Green kzbin.info/www/bejne/fYDaYotqfK50j68
@md-code9019
@md-code9019 4 ай бұрын
LGBT Students Question Purpose of Life kzbin.info/www/bejne/e16uiGyqiqqHhJY “Jesus Didn’t Preach Christianity, but Islam!” kzbin.info/www/bejne/p6elf4mfj6xjg80
@hansolo631
@hansolo631 3 ай бұрын
Jackie do you think in a few years companies will just pull all their code out of an AI prompt?
@undeath4ever
@undeath4ever 4 ай бұрын
For anyone wondering at 19:00 in Line 68, it is supposed to say "board[1][1]" instead of "board[1][2]" as it is the center of the tic-tac-toe field. She does it correctly for the second diagonal case in the next line. Just wanted to avoid confusion ;) Awesome explanation Jackie
@CSJackie
@CSJackie 4 ай бұрын
you have a good eye ;) I noticed whilst editing the video and fixed it! thanks :]
@billylee5624
@billylee5624 4 ай бұрын
Would this be [2][2] for a 3x3 for the center? I get confused sometimes, jk.
@zainabbas6167
@zainabbas6167 4 ай бұрын
Jackie the champ 🏆
@CSJackie
@CSJackie 4 ай бұрын
omg stap
@snakecaseofficial
@snakecaseofficial 4 ай бұрын
Hi Jackie, cool project. As I was in training as a computer scientist, I have programmed tic tac toe for learning python, but only on the console without PyGame. cheers.
@porsiempre71
@porsiempre71 4 ай бұрын
I really like your coding style and the explanations. Please keep doing videos like this one! ❤
@patatje1434
@patatje1434 11 күн бұрын
player=1-player is something to remember, genious 😊
@Andre.Ferreiraext
@Andre.Ferreiraext 4 ай бұрын
I'm training my English listening, and it's true that your videos are so cool. I love your pronunciation. I love it. #First year at university studying Software Engineering.
@CSJackie
@CSJackie 4 ай бұрын
Thank you so much! 😃
@Velvetskyy
@Velvetskyy 4 ай бұрын
Am also software engineer i always liked ur videos lot's of love👍🏻❤😊
@CSJackie
@CSJackie 4 ай бұрын
thank you so much!
@Velvetskyy
@Velvetskyy 4 ай бұрын
​@CSJackie Which book you reading nowadays?pls tell
@SSG_GAMING_000
@SSG_GAMING_000 4 ай бұрын
Hi Jackie, I watched this video on Friday and got myself to make the tic-tac-toe game for the job as their technical assessment test. PS, Yes, I completed the game. So I would say I love your hands on coding videos even more now.
@CSJackie
@CSJackie 4 ай бұрын
OMG what are the odds!! Glad it helped ☺️
@SSG_GAMING_000
@SSG_GAMING_000 4 ай бұрын
@@CSJackie yeah definitely it did. Thank you Jackie looking forward to learn more interesting stuff from you.
@CSJackie
@CSJackie 4 ай бұрын
Thank you so much! And congratulations, amazing job on the assessment 🫶
@SSG_GAMING_000
@SSG_GAMING_000 4 ай бұрын
@@CSJackie thanks but sadly somethings are not in your hand. Got informed they're moving forward with someone else, so I guess I have to stick with my current job for a while.
@perlhacker
@perlhacker 4 ай бұрын
Nice video, thats also a good idea for a short out of the box coding exercise. Never done that game but i will try soon. Thanks for the idea.
@CSJackie
@CSJackie 4 ай бұрын
Thanks a lot, go for it :)
@almonies
@almonies 3 ай бұрын
This was fantastic!! I would have loved to see you walk back through the code and give a brief explanation of the purpose of the sections. But thank you this was great!
@whocares7557
@whocares7557 3 ай бұрын
I usually don't post appreciation comments much, but your content is too awesome to not do that! Your vids are so great to watch and I watched almost all the recents. Your clarity of thoughts and perception make every video interesting and motivating (which also make the ads bearable 😅), and I think you're the best female CS content creator out there
@LuisLopez-eo5xe
@LuisLopez-eo5xe 3 ай бұрын
Simp
@clockwise7391
@clockwise7391 4 ай бұрын
19:31 that pinterest link 🤣🤣🤣🤣🤣 😂😂
@r1makan
@r1makan 4 ай бұрын
Good to see you again!
@CSJackie
@CSJackie 4 ай бұрын
thank you so much :]
@r1makan
@r1makan 4 ай бұрын
@@CSJackie thanks for posting the video 😁
@jiajunsun3845
@jiajunsun3845 4 ай бұрын
I love it when you post videos
@CSJackie
@CSJackie 4 ай бұрын
thank you it means a lot! :]
@larissaqueiroz8858
@larissaqueiroz8858 4 ай бұрын
Awesome video! Thank you for sharing knowledge. Cant't wait for the next coding videos
@MACODJ
@MACODJ 4 ай бұрын
I'm a beginner with Python ! It is an amazing code to learn
@RyanRosenquist
@RyanRosenquist 4 ай бұрын
Yay Carmen just posted 😁
@CSJackie
@CSJackie 4 ай бұрын
yayy
@luckyhatz
@luckyhatz 4 ай бұрын
The most beautiful programmer i have even seen
@ens8502
@ens8502 4 ай бұрын
Which reminds me...I recommend the Tic-Tac-Toe casette: "Klappe Die 2te" Nice music from 90s :)
@snakecaseofficial
@snakecaseofficial 4 ай бұрын
Genau: Tic Tac Toe programmieren, Tic Tac Toe hören und dabei Tic Tac lutschen :D
@henk4710
@henk4710 4 ай бұрын
@@snakecaseofficial and having nervous TIC of the face
@snakecaseofficial
@snakecaseofficial 4 ай бұрын
@@henk4710 and listen to the clock "tic tac"
@hanzkranz1319
@hanzkranz1319 4 ай бұрын
Wow, a game that runs on Macintosh, THIS IS AMAZING 🎉🎉🎉
@mcrg
@mcrg 4 ай бұрын
It is so easy to understand!!! Thanks for makin this tutorial 👍👍
@CSJackie
@CSJackie 4 ай бұрын
Glad to hear that! :) thank you for supporting my content
@billylee5624
@billylee5624 4 ай бұрын
Marvelous logic of the game. I think I shall try this and see what ai learning logic I can apply to it, and I don't think it needs anything complicated like bread-first search or something, and definitely not something complicated like machine learning unless you want to go back and try that.
@CSJackie
@CSJackie 4 ай бұрын
Absolutely! Good luck 👍
@h_nrique0740
@h_nrique0740 4 ай бұрын
i've done this but just by using prints and keyboard library, pretty fun not only tic tac toe but also jogo da forca, tetris, memory game and snake game its pretty cool what you can do just by using a couple libraries and prints
@CSJackie
@CSJackie 4 ай бұрын
absolutely! :)
@PLifes
@PLifes 4 ай бұрын
Jackie, great video! As you tag the video as beginner friendly my only suggestion is to avoid the variables as "i" and "j" I know you are using as cursors to walk through the array but maybe will improve the way new developers or curious see this code. Great Work keep doing it!
@CSJackie
@CSJackie 4 ай бұрын
Noted, thank you so much :D
@mateofranciulli8224
@mateofranciulli8224 4 ай бұрын
Its funny that yesterday I had to do it, in java for my programming class. PD: great video, I learned a lot
@CSJackie
@CSJackie 4 ай бұрын
That's awesome, although it's more difficult in Java haha. Thanks so much!
@zeeshanahmadkhalil8920
@zeeshanahmadkhalil8920 4 ай бұрын
Watching you teaching, I want to learn from start.
@CSJackie
@CSJackie 4 ай бұрын
Best of luck!
@raizenperez1358
@raizenperez1358 4 ай бұрын
This is just perfect!
@dempseydeclerck2911
@dempseydeclerck2911 4 ай бұрын
I really love this, even if it is simple.. Keep it up Jackie... 🤩😎💥👌
@CSJackie
@CSJackie 4 ай бұрын
Thank you so much! 😊
@justinwr092
@justinwr092 4 ай бұрын
If I remember correctly, the secret to winning tic-tac-toe is to not start a nuclear war with Joshua.
@zodiac-ai
@zodiac-ai 4 ай бұрын
9:50 When you try to code in one line!
@ioannischristou2362
@ioannischristou2362 3 ай бұрын
from my point of view, it would be better if you just used ascii coding for the rendering of the boards, and included some AI so that the game is one player versus the computer. That would give the opportunity to explain something like the minimax algorithm and perhaps even other algorithms in standard AI introductory courses.
@lesamourai5
@lesamourai5 4 ай бұрын
Greatest game to humanity!!
@Kmedia88888
@Kmedia88888 4 ай бұрын
Thank you for sharing, I am trying writing some interesting python obj in my channel! Thank you for sharing!
@Isturfore
@Isturfore Ай бұрын
I recommended your channel to 25 Russian-speaking small channels
@borisdasgupta2170
@borisdasgupta2170 4 ай бұрын
It was an amazing video, almost understood everything, just had one question: Did your degree in Aerospace bring you job opportunities, cause even if did my bachelors in Mechanical and am currently doing my masters in Aerospace but everyone says that there are very minimal opportunities specially in Germany where i am currently.
@optimus888amicus
@optimus888amicus 4 ай бұрын
hello, everyone ! 🌞😉👍 Very good !
@bigbob2364
@bigbob2364 3 ай бұрын
when you code cfor work its hard to code fun stuff like these games anymore unless you do it on ur free time but I want to do other stuff on my free time
@varunsalve
@varunsalve 4 ай бұрын
I am new here on your channel and have fallen in love with your channel. Fantastic content.
@CSJackie
@CSJackie 4 ай бұрын
Thank you so much! :D
@GR1FF1N80
@GR1FF1N80 4 ай бұрын
Drinking too much coffee? Nah, not enough coffee 😁
@longsket79
@longsket79 3 ай бұрын
Pen and paper. Tic tac toe. Faster that way. Got no clue what's being typed up. Enjoyed listened to keybaord sounds though.
@zodiac-ai
@zodiac-ai 4 ай бұрын
10:20 Calculas Class Starts!
@brandontv8289
@brandontv8289 3 ай бұрын
You made one little mistake with loading graphics. In this game this is not important, but in bigger games you need convert your images for performance. That's easy to correct you only need add after load() `.convert_alpha()` if your icons have got transparent background or `.convert()` if not.
@DavidBauer38
@DavidBauer38 5 күн бұрын
Ausgezeichnet!
@delform1989
@delform1989 4 ай бұрын
It look nice but the question is how long did you learn to finally make this game. Maybe in hours or days cause I'm curious ;)
@CharmPeddler
@CharmPeddler 19 күн бұрын
It would be helpful for us brand newbies to know what software you're using.
@peachesnscream
@peachesnscream 4 ай бұрын
unfortunately stopped at the first hurdle, I copy pasted the same thing you did from pygame into what I had installed, Pycharm CE and got an error message, then tried to download pygames from their site and was given a folder of files but seemingly no application to execute?
@yinyang9508
@yinyang9508 4 ай бұрын
I coded this for my cs 142 in collage
@jes.l.w
@jes.l.w 4 ай бұрын
😍😍 omg that’s so cute!! where can I get one? 🥺
@2bloodyfox
@2bloodyfox 4 ай бұрын
Jackie the Queen🎉
@klaramuller1048
@klaramuller1048 4 ай бұрын
Hmm.. the is_winner actually can consider the last move and thus reduce the number of checks.. might be a small thing here but a big difference in performance elsewhere..
@CSJackie
@CSJackie 4 ай бұрын
Yes you can do further optimisations :) but it's a pretty small 3x3 board so you could argue it's an overkill
@sergeys7603
@sergeys7603 3 ай бұрын
Thank You for the Nice Tutorial
@kunal0950
@kunal0950 4 ай бұрын
My Fav Developer 😍
@CSJackie
@CSJackie 4 ай бұрын
@Giotheasy
@Giotheasy 4 ай бұрын
Hello, my name is I have five post-doctorates in Computer Science with mentions in aerospace theory and chaos theory. And in this video we are going to program a hello world in python.
@CSJackie
@CSJackie 4 ай бұрын
🤣
@big123lak
@big123lak 4 ай бұрын
when I first did this I couldnt figure out how to make the board array without using numbers lol I had to use 0s and 1s 2s, I tried messing with it to see if there was any other ways to do it as well without using the nested arrays , I wanted to try to make a board game style game where the boxes arent as easy to deal with
@CSJackie
@CSJackie 4 ай бұрын
I think nested arrays are the most straight forward way of doing it, and since it's a very small board, it doesn't really have an impact on performance. I would be interested in seeing other approaches!
@bhuvanpancholi6957
@bhuvanpancholi6957 4 ай бұрын
I am a new follower and loved this vid. Could anyone please suggest what document I have to follow to code this in java?.. cheerio :)
@PointEndClick
@PointEndClick 4 ай бұрын
This video is awesome.
@juanrangel8979
@juanrangel8979 4 ай бұрын
I like your videos, I even liked it without watching it yet, you're a guarantee, greetings :)
@CSJackie
@CSJackie 4 ай бұрын
aw thank you so much!
@DrRCB
@DrRCB 4 ай бұрын
Great and inspiring
@mndtr0
@mndtr0 4 ай бұрын
How do yall think is programming/software engineering worth to learn in age of AI? I'm first year student at software engineering major and kinda scared about be jobless... I'm loved learn but now feel kinda sad that what I loved to learn may become useless =(
@worldwidegamingprofessiona7196
@worldwidegamingprofessiona7196 4 ай бұрын
which operating system is best for making games and for programming can you tell me plz
@Ahmed_osama146
@Ahmed_osama146 4 ай бұрын
This is the first project I was asked to do in college😂
@CSJackie
@CSJackie 4 ай бұрын
oh that's cool haha :)
@ScreenPrintR
@ScreenPrintR 4 ай бұрын
Sorry Jackie, I could not understand what video software you suggested. Was is, Riverside AI or Riverside AM, Riverside FM?
@CSJackie
@CSJackie 4 ай бұрын
Riverside.fm ☺️👌
@ScreenPrintR
@ScreenPrintR 4 ай бұрын
@@CSJackieThank you
@gerardofad
@gerardofad 3 ай бұрын
Python is interesting
@ricardo5460
@ricardo5460 4 ай бұрын
Hey Jackie What macbook do you use for SD? I was wondering if an M2 with 8gb RAM would be enough for backend development
@CSJackie
@CSJackie 4 ай бұрын
I’d suggest getting a bit more RAM :) if you have to compromise, imo rather an M1 with 16GB than an M2 with 8GB
@horger89
@horger89 4 ай бұрын
Did you realise that you do over 80% of your typing only with your right hand? There's nothing wrong with it, but once I noticed, I couldn't unsee it for the rest of the video :D
@CSJackie
@CSJackie 4 ай бұрын
I never realized x.x
@horger89
@horger89 4 ай бұрын
@@CSJackie Okay, saying over 80% might be overreacting, but the right hand definitely does most of the work 😀
@user-hv5jv9gb6c
@user-hv5jv9gb6c 4 ай бұрын
Pretty enough to be a model and intelligent enough to be a software engineer. If she likes old Disney flicks and the ocean I may just be in love. lol. Seriously though, Seems like a very cool gal with lots of depth and compared to most women today that's just darn refreshing.
@JonnyTsunami728
@JonnyTsunami728 3 ай бұрын
Jackie, what is the IDE you're using?
@user-fn3yy4ni2v
@user-fn3yy4ni2v 4 ай бұрын
My dream is to be software engineer and i hope i can reach/achieve that dream
@CSJackie
@CSJackie 4 ай бұрын
You got this! :)
@shivamthakur5708
@shivamthakur5708 4 ай бұрын
Hey love this tutorial, can you please tell what books are there underneath your headphones.
@CSJackie
@CSJackie 4 ай бұрын
Thank you :] one about Jet Engines and two about system design!
@VulcanOnWheels
@VulcanOnWheels 4 ай бұрын
7:42 Why didn't you just copy the first line to make the other two?
@Isturfore
@Isturfore Ай бұрын
I suffered today, doing tic-tac-toe in c++ on the command line with 530 lines of procedural programming
@Isturfore
@Isturfore Ай бұрын
plz author like comment
@miftahulhuda4966
@miftahulhuda4966 4 ай бұрын
Woohooo!
@CSJackie
@CSJackie 4 ай бұрын
☺️
@user-plgmgrs326
@user-plgmgrs326 4 ай бұрын
Cute code
@HONESTLYALOK
@HONESTLYALOK 4 ай бұрын
You are the best ❤
@CSJackie
@CSJackie 4 ай бұрын
thank u so much
@mattmill30
@mattmill30 4 ай бұрын
"A strange game. The only winning move is not to play."
@tiemenfiat1321
@tiemenfiat1321 4 ай бұрын
May be add a computer opponent in the next video? That's not to difficult for this game.
@CSJackie
@CSJackie 4 ай бұрын
oh that's a cool idea thanks!
@JessAnalysisTV
@JessAnalysisTV 4 ай бұрын
i
@CSJackie
@CSJackie 4 ай бұрын
being a nerd is cool
@AS-oh4nm
@AS-oh4nm 4 ай бұрын
прекрасная джеки🥰🥰🥰
@CSJackie
@CSJackie 4 ай бұрын
@thomas-fk6pt
@thomas-fk6pt 3 ай бұрын
완벽해
@mlsterlous
@mlsterlous 4 ай бұрын
I just asked llama 3 8b, and after several seconds the game is done.
@ANDIBAUER97
@ANDIBAUER97 4 ай бұрын
getting myself a glass of of port wine to enjoy this session 👩‍💻 cheers & saúde jackie 🥹🍷
@CSJackie
@CSJackie 4 ай бұрын
haha living the life
@pamelar.2684
@pamelar.2684 4 ай бұрын
How did you begin your journey in coding?
@CSJackie
@CSJackie 4 ай бұрын
I have a few videos about this on my channel ☺️
@valdigleis
@valdigleis 4 ай бұрын
Very hot!
@Eah2019
@Eah2019 4 ай бұрын
Question should I go to school for computer science?
@CSJackie
@CSJackie 4 ай бұрын
watch the TL;DR on video I posted before this one :)
@Miche11957
@Miche11957 4 ай бұрын
😍😍😍😍😍😍😍😍😍😍😍😍😍
@craigcohen3682
@craigcohen3682 3 ай бұрын
Jackie ... you are very smart and pretty
@KillerLettuce
@KillerLettuce 4 ай бұрын
This goes too fast and without much explanation to be beginner friendly. I have no idea what im looking at.
@Santiago-jk5th
@Santiago-jk5th 4 ай бұрын
This kind of content is not exactly for beginners but for intermediates 😓
@nisachannel7077
@nisachannel7077 4 ай бұрын
Lol
@nisachannel7077
@nisachannel7077 4 ай бұрын
The title of the video clearly states “ beginner friendly”
@clockwise7391
@clockwise7391 4 ай бұрын
"player 0 and player 1" typical engineer brain lol
@CSJackie
@CSJackie 4 ай бұрын
Guilty
@pontusschönhult
@pontusschönhult 4 ай бұрын
make it oop and show us would be cool
@adikisela409
@adikisela409 4 ай бұрын
Hi jackie
@textbooksmathematicstutorials
@textbooksmathematicstutorials 4 ай бұрын
Too late for me to learn this!
@mhalwasoffice6132
@mhalwasoffice6132 4 ай бұрын
where can i find like ur keyboard ?
@CSJackie
@CSJackie 4 ай бұрын
I have a royal kludge 65% mechanical keyboard!
@mhalwasoffice6132
@mhalwasoffice6132 4 ай бұрын
@@CSJackie thank u so much
@VesuviusAntaria
@VesuviusAntaria 4 ай бұрын
Hello! 🙂🌺🌺🌺
@user-ts1zr5lg2q
@user-ts1zr5lg2q 4 ай бұрын
What is IDE that you use
@CSJackie
@CSJackie 4 ай бұрын
Pycharm :)
@jakubfrei3757
@jakubfrei3757 3 ай бұрын
guys when they see chick that can code : 🥵
@user-vc5rp7nf8f
@user-vc5rp7nf8f 4 ай бұрын
you're pretty
@xinzeng-iq7zv
@xinzeng-iq7zv 4 ай бұрын
u have to start somewhere
@failman-322
@failman-322 3 ай бұрын
Keyboard have terrible sound
@HoppiHopp
@HoppiHopp 4 ай бұрын
I can’t even import pygame. Pip isn’t working and pip3 is talking some gibberish about a virtual environment.
@CSJackie
@CSJackie 4 ай бұрын
😆you gotta love Python. 1. Make sure to install Python3 and pip3 :) you can check the commands easily on google or chatGPT. 2. Create a directory for the game. 3. Create a virtual environment using pip in your directory. quick google search should work to set this up! 4. Install pygame using pip You should be good to go :)
@HoppiHopp
@HoppiHopp 4 ай бұрын
@@CSJackie Thank you so much :) My VSC didn't know that I worked in the virtual environment that I had created. Frustrating. But now I installed it somehow as default in VSC and it's finally behaving nicely.
CODE WITH ME | Python TETRIS Game OOP [PART 1]
23:50
CS Jackie
Рет қаралды 62 М.
Designing a Streaming Platform | Coding Diaries VLOG
16:25
CS Jackie
Рет қаралды 26 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 2,2 МЛН
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 44 МЛН
The FASTEST way to PASS SNACKS! #shorts #mingweirocks
00:36
mingweirocks
Рет қаралды 15 МЛН
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 6 МЛН
How I Would Learn to Code if I had to Start Over in 2024
12:02
[ENG] Day in the Life of a Cornell Computer Science Major | kellygraphy
8:20
켈리그라피 kellygraphy
Рет қаралды 16 М.
TOOLS I'D RECOMMEND TO ALL PROGRAMMERS
12:12
CS Jackie
Рет қаралды 69 М.
Why I Switched: Aerospace to Software Engineering
11:23
CS Jackie
Рет қаралды 44 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 525 М.
This is Why Programming Is Hard For you
10:48
The Coding Sloth
Рет қаралды 847 М.
How I Would Learn Python FAST in 2024 (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 295 М.
How I learned to Code - my Roadmap | from 0 to Big Tech
16:01
CS Jackie
Рет қаралды 185 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 401 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 2,2 МЛН