How to code a command-line Minesweeper in Python (using recursion) | Beginner Python Tutorial

preview_player
Показать описание
In this video, we will implement a game of minesweeper in Python! We will walk through how to create a board, plant the bombs, and dig recursively. You can toggle the size of the board as well as the number of bombs planted.

You will also be able to play your own creation via the command line.

Feel free to leave any questions.

Thanks for watching everyone!
~~~~~~~~~~~~~~~~~~~~~~~~
Music:
~~~~~~~~~~~~~~~~~~~~~~~~
Рекомендации по теме
Комментарии
Автор

What other games have you implemented in python??

KylieYYing
Автор

Not only do you teach coding in python, but you also teach the necessary mindset for programmer. Thanks for the instructive lesson!

willbuffie
Автор

I love that you pseudocode in your videos, this makes a HUGE difference between you and other YouTubers - it really helps hone in on the mechanics and mindset a coder needs, plus it make the concepts easier to follow! Brilliant work as usual! 🔥💛

Blackice
Автор

I adore when positive, optimistic and simple people like you Kylie cross my path, who put their heart in each of their actions ... who give everything for nothing. That caress my soul and enrich my life of knowledge ... Thank you for your videos, (Even if I have to translate them completely, since I do not understand English at all, but even so, it is fidicile to get bored of you) <3

LoquendoElHistoriador
Автор

I love these videos! I have finished a beginner python course and i'm now trying to learn some more. These projects are really interesting... hopefully I can do a tetris code on day haha!

evarosesummerfield
Автор

the way you explain are really well, it cheers me up to do more code. very helpful. keep going!!

nabellass
Автор

Thank you so much. I had to do this project in c++ so I followed your video step by step but just did it in c++. Also got frustrated too many times seeing how easy some things are in Python compared to c++ lol. But I learnt a lot of c++ stuff trying to translate your python code to c++. Thanks a lot.

prafuljoshi
Автор

1:43 "think about how minesweeper works"

Lady I never understood that game lmao

Jsalo
Автор

This my first video I watch on this channel. LOVE IT
Although sometimes I needed more explanation, the excitement of challenging my skills and understanding is AWESOME.
I will keep my eyes on everything has been, or will be, released.

modaryaghi
Автор

Was eagerly waiting for this. Looking forward to practice this in my machine. Thank you so much ❤️

zchamdawala
Автор

This was so helpful, thank you so much! You explain things really well and broke things down perfectly :)))

ashleyreynolds
Автор

Thank you a lot for the help I was coding minesweeper on my own and really stuck on assigning squares a number value based on how many bombs are touching a square and was really stuck this tutorial helped me a lot, thanks

BKK-evyh
Автор

17:29 i was not able to understand what piece of code you added their

sarthakchaturvedi
Автор

upload videos more often please...
I really like your videos. Thank you for making them!

charlie
Автор

I was learning python for 2 weeks but switched to Kotlin now. Learning it for 4 weeks now. Also learning android studio, github, intelliJ. And hope to write software some day. So I can show my boss I changed his boring excel visual basic into a nice looking desktop windows programm with buttons and windows for the lists.

MichelandLadda
Автор

This is exactly what I was looking for. Thank you.

sankethb.k
Автор

Are you korean you look like my mom, you give me comfort it's amazing

johnlui
Автор

Thanks for this!
I'm making a minesweeper game with pygame and the only part I couldn't figure out on my own was recursively uncovering empty squares. I'm no good with recursion at all.

CornnTheCobb
Автор

Perfect project to keep me occupied this December 😁

carlisle
Автор

Wow THANK YOU SO MUCH FOR THIS! I'm a Computer Science freshman and we have a project where I chose to make a minesweeper game. Is it really bad if I'm already done with my first semester and I still dont get how everything works that well? I wtched lotsof tutorials and I still dont get how things work that well. Still, than’ you so much for this, this is what I needed! I hope I can code amazingly like you do. You just earned a new sub!

-exe
join shbcf.ru