Python Projects Ideas - 11 Awesome Games You Can Make With Python
Key Takeaways
The video demonstrates Python project ideas, specifically 11 games that can be made with Python, including the use of PI game module, Pygame, and genetic algorithms for game development and AI integration.
Full Transcript
hello everybody and welcome back to the YouTube video so in today's video what I'm gonna be doing is showing you 11 Python projects slash games that I've created over the many years that I've been using Python now all of these games are made with a module called PI game this allows you to make 2d games in Python is actually really powerful now the point of this video is going to be to give you some inspiration and motivation for things that you can work on in Python and show you the powers of Python when it comes to making simple 2d graphical user interfaces and little games and projects like I'm going to show you here so the last thing I'll say before we get started is right now there's actually new tech with Tim merch out I just released it it looks something like this this is one of the designs that I have and if you're on the computer you can actually go right beneath the YouTube video and you can see all of the different designs that are available if you're on your phone or something there's a link in the description but if you would like to purchase this it definitely does help me out and I can say first hand these are very comfortable hoodies and I think these designs look really awesome so anyways with that being said let's go ahead and get started and look at eleven Python project slash games so the first game I have to show you here is actually my version of a guard I oh so you can see immediately this is actually an online game this is made completely with Python and PI game and the objective is to collect as much mass as possible without being eaten by another person so their 5 minute rounds and essentially the way it works is the biggest person or the biggest blob out all the blobs that are here at the end of the game is the winner so what I actually did is I created this game because I worked as a STEM program coordinator at a summer camp and my kind of role there was to actually teach kids coding and kind of take on the technology side of the camp so I wanted to make a game that all the kids can be able to play and have fun with and actually be able to see that hey I made this this is something they could potentially make if they wanted to continue on with coding and keep learning so anyways I'll play a few clips of them playing this game but yes this is a fully online game it works on your local area network so you do have to be on the same Wi-Fi network to actually play against each other so this next game I have to show you guys is called super mini golf now this is based off of one of my favorite games that I played as a kid on the App Store called super stickman mini-golf and you can see that essentially the idea behind this game is you are a golf ball and you can shoot it around and you're trying to get it into the hole so this works just like regular golf in terms of the scoring system if you hit a water hazard you get +1 strokes there's some power-ups in this top corner here so we have Power Shot Mulligan which reverses your previous shot and then sticky ball so I'm gonna go ahead and try with the Powerball here and see if I can get that into the hole now I'm inputting mode and I can putt in so you can see it tells us what our score is brings up a scoreboard and that is pretty much it for this game I mean there's a bunch of other levels I'm not gonna play through all of them but we'll get into the rest of the games after a quick word from our sponsor I need to thank simply learned for sponsoring this video and introduce you all to their data scientist master program that was co-developed with IBM this program is comprised of six unique courses that implement a unique blended learning experience in a high engagement online classroom environment during this program you will master 30-plus in-demand skills and work with tools and languages like our SAS Python tableau Hadoop and spark you'll master these skills through 15 real-life projects and one capstone project during this 12-month comprehensive course you'll also be given 1200 USD worth of IBM cloud credits to use during your 24/7 access to the IBM watson platform after completion of this course you'll be given certificates from IBM and simply learned to testify to your skills as an expert in data science get started by hitting the link in the description so the next game I have for us is a classic this actually is probably the first PI game project I ever worked on you can see a nice lovely green background I don't know what I was thinking with that but you get the point here just hangman you can guess different letters I'm sure you all know kind of how this works let's see if we can actually get this word and then we'll move on to the next project d f no G's is not going well yes okay does anyone know what this word is because I do not maybe I'm just really bad at hangman M no it looks like we lost the phrase was ooh ologist okay I don't know how I was gonna guess that but anyways you get it hangman generates a different word every time and a pretty cool project especially for beginners looking to learn kind of how to use this module so this next project is less of a game more of just an illustration of something you can do with pygame so you can see that what this actually is is a genetic algorithm that learns how to play flappy bird so i generate a bunch of birds at the start and the idea is the best birds survive each next round and they slowly learn how to actually play this game so I don't know if we'll have enough times for you to see a very successful bird that just can go through and do this infinitely but the point is that I made this in PI games so this whole flappy bird thing I just copy the original flappy bird design and made that and then even implemented all of the birds and the AI and yeah it's something cool something fun and shows you that if you want to do some kind of AI stuffs like reinforcement learning or genetic algorithms and you want to visualize that a really cool way an easy way to do that is using the module like Pi game and it seems like this guy's actually doing fairly well and I'm pretty confident to say that he will probably make it through all of the tubes and actually never die in this game so the next game I have for you guys is actually online chess now I made this during an 18 hour livestream on YouTube yes I did livestream for 18 hours straight and there's actually a really cool game so I made some modifications to it here but you can see that one of these guys is white you can move his pieces and then it moves on the other screen and actually shows them where moved so this is fully functioning chess um this works just like any other chess game would and while it is a little bit laggy because you know I'm not a network specialist in terms of sending packets and data and all of that but hopefully you get the point that this is just a cool online chess game and if you want to make something like this in Python you absolutely can it just is kind of difficult to do so anyways that's it for this you got the point there's timers going at the top although it doesn't even really look like they're working to be honest so maybe I broke something and yeah you can just play chess against someone else so this next one is a much more simple online game this is online rock-paper-scissors I actually have a full youtube tutorial that teaches how to do this but you get the point essentially you pick something the opponents locked in the other person picks something and then tells you if you won or lost and you continue to play now I believe in the finished version of this I actually implemented scores and some more fancy stuff and made it like centered and look a little bit nicer this is the version I had on my computer so I just figured I would show it to you if you want to make an online game in Python it's actually not that hard to do and starting with something like this is really cool it teaches you how to use sockets how to use a little bit of networking features and stuff and yeah it's just an interesting game and something that I wanted to show to you guys all right so the next program I have to show you here is actually my version of Microsoft Paint you can see that we can paint around here and we can make whatever we want we can actually save files so I can go ahead and save and just make this say like test and go save and now if I wanted to like say I modify all this and I don't save it and I go open I can open test and it will bring me back to what I was at so I actually made you know kind some kind of protocol to actually save these different files let's see if I can actually fill some stuff in here so this might not work very well but let's see what happens yeah so it fills everything except those two shapes so our sorry is the replace tool so I believe it replaces whatever color I click on with the other color so let's go back to our there there's clear that clears the entire screen fill this will fill one color so you can see that will fill the entire screen and yeah what these are the features of this game or this project or whatever you want to call it and I think that it is pretty cool so the next game I have to show you all is actually my version of snake now I'm really bad at snake and this version is not that easy to play but you can see this is just really a simple game of snake that you can make in python with PI game again I have a full tutorial series that teaches how to do this not very difficult by any means but is definitely a cool game and something that's kind of fun to play around with and show different people so the next game i have here i believe is pronounced oku i don't know if that's actually how you say it and I usually get roasted on my pronunciation for it but here's the game you can see it is just a simple version it generates a board here and you can actually just play the game so I can actually pencil in stuff by just only hitting it once on the square and then once you've put something in one of the squares you can press delete if you want to remove it or you can press ENTER to try to make it finalized now of course if it's not in the right place it will give you a little X at the bottom of the screen saying you got it wrong and let's say you know you've played the game you're really frustrated and you just want it to solve for you you don't want to have to play anymore what you can do is simply press space and this algorithm will actually automatically solve the board for you this uses a pretty popular backtracking algorithm and of course it's not gonna be responding right when I'm filming the video but you get the point let's give it one second we should see it actually does complete the board and I don't think it made any mistakes I know you guys can have a look at this and let me know I made this a long time ago the next game I have here is Tetris this is a classic game I'm sure I don't need to explain this to any of you this is actually not that difficult to make again I have a video tutorial series going through how to actually create Tetris but this is a fun game and it just really is the classic Tetris there's not much more to say the only things I didn't add from original Tetris was the hard drop and the shadow it wouldn't be that difficult to do I could add that if I wanted to but just for the video tutorial series I didn't end up putting that in you can see the next shape popping up on the other hand of the screen there which is a nice feature and then of course if you get to the top you will lose and we're not gonna have enough time to show you that feature so anyways that is Tetris let's move on to the next game now alright so the last game I have to show you is actually a tower defense game I made this during a 12 hour livestream on YouTube and I'm sure many of you have seen this before the idea is that you have all of these different towers that have different properties so they might have a different range or a different damage that they do you can upgrade these towers using stars that you collect from killing enemies from the waves you can see here I've just fast forwarded to wave six just to show you guys a more interesting stage of the game rather than the very beginning but over on the right-hand bar here you can buy all of the towers there is different towers that do different things and of course cost different amounts of money and then there is some music that I will play but that I doubt you will actually be able to hear so anyways we'll let this music play I'm gonna play around and that is pretty much it for this video I mean this tower defense game took me a lot of time to make twelve hours in in the livestream was not easy there's a lot of glitches with it but it's really cool and it shows you what you can do with Python so anyways that has been it for this video if you guys enjoyed please do make sure you leave a like subscribe to the channel and I will see you in another YouTube video
Original Description
In this video I show 11 python project ideas. These are all games you can make with python and great programming projects you can work on in python. Hopefully I can give you some programming project ideas and inspire you to create some of your own python projects. All of these python projects are games written with the module pygame!
⭐️ Thanks to Simplilearn for sponsoring this video! Check out their data scientist masters program here: https://www.simplilearn.com/big-data-and-analytics/senior-data-scientist-masters-program-training?utm_source=Tim&utm_medium=affiliate-cpm&utm_campaign=product_review_June2020
👕 Merchandise: https://teespring.com/stores/tech-with-tim-merch-shop
💾 The Source code for all these games is available on my GitHub! https://github.com/techwithtim
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
🔊 Subscribe to my second channel for weekly podcasts! https://www.youtube.com/channel/UCSATlCAUi7R0Ik-wsZb2gOA
💰 Courses & Merch 💰
💻 The Fundamentals of Programming w/ Python: https://tech-with-tim.teachable.com/p/the-fundamentals-of-programming-with-python
👕 Merchandise: https://teespring.com/stores/tech-with-tim-merch-shop
🔗 Social Medias 🔗
📸 Instagram: https://www.instagram.com/tech_with_tim
📱 Twitter: https://twitter.com/TechWithTimm
⭐ Discord: https://discord.gg/pr2k55t
📝 LinkedIn: https://www.linkedin.com/in/tim-ruscica-82631b179/
🌎 Website: https://techwithtim.net
📂 GitHub: https://github.com/techwithtim
🔊 Podcast: https://anchor.fm/tech-with-tim
🎬 My YouTube Gear 🎬
🎥 Main Camera (EOS Canon 90D): https://amzn.to/3cY23y9
🎥 Secondary Camera (Panasonic Lumix G7): https://amzn.to/3fl2iEV
📹 Main Lens (EFS 24mm f/2.8): https://amzn.to/2Yuol5r
🕹 Tripod: https://amzn.to/3hpSprv
🎤 Main Microphone (Rode VideoMic Pro): https://amzn.to/3d0KKMG
🎤 Secondary Microphone (Synco Wireless Lapel System): https://amzn.to/3e07Swl
🎤 Third Microphone (Blue Yeti USB Mic): https://amzn.to/3hoD625
☀️ Lights: https://amzn.to/2ApeiXr
⌨ Keyboard (Daskeyboard 4Q): https:/
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Tech With Tim · Tech With Tim · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
A* Path Finding Algorithm(Visualization)
Tech With Tim
Python Programming Tutorial #1 - Variables and Data Types
Tech With Tim
Python Programming Tutorial #2 - Basic Operators and Input
Tech With Tim
Python Programming Tutorial #3 - Conditions
Tech With Tim
Python Programming Tutorial #4 - IF/ELIF/ELSE
Tech With Tim
Python Programming Tutorial #5 - Chained Conditionals and Nested Statements
Tech With Tim
Python Programming Tutorial #6 - For Loops
Tech With Tim
Python Programming Tutorial #7 - While Loops
Tech With Tim
Python Programming Tutorial #8 - Lists and Tuples
Tech With Tim
Python Programming Tutorial #9 - Iteration by Item (For Loops Continued...)
Tech With Tim
Python Programming Tutorial #10 - String Methods
Tech With Tim
How to Overclock a NVIDIA GPU
Tech With Tim
Python Programming Tutorial #11 - Slice Operator
Tech With Tim
Python Programming Tutorial #12 - Functions
Tech With Tim
Python Programming Tutorial #13 - How to Read a Text File
Tech With Tim
Python Programming Tutorial #14 - Writing to a Text File
Tech With Tim
Python Programming Tutorial #15 - Using .count() and .find()
Tech With Tim
Python Programming Tutorial #16 - Introduction to Modular Programming
Tech With Tim
Python Programming Tutorial #17 - Optional Parameters
Tech With Tim
Python Programming Tutorial #18 - Try and Except (Python Error Handling)
Tech With Tim
Python Programming Tutorial #19 - Global vs Local Variables
Tech With Tim
Python Programming Tutorial #20 - Classes and Objects
Tech With Tim
Cool VBS Script to Prank Your Friends!
Tech With Tim
How to Overclock an AMD GPU
Tech With Tim
Best GPU'S For Mining Ethereum (2018)
Tech With Tim
Recursion and Memoization Tutorial Python
Tech With Tim
Ethereum Mining Rig - Hardware Guide
Tech With Tim
Pygame Tutorial #1 - Basic Movement and Key Presses
Tech With Tim
How to Install Pygame (Windows 8/10)
Tech With Tim
How to Trade Your Cryptocurrency (Bitcoin, Ethereum etc.) For Cash!
Tech With Tim
How to Mine Ethereum 2018 - WORKING (Super-Easy)
Tech With Tim
Microphone Comparison - $10 Mic vs $150 Mic (Blue Yeti USB)
Tech With Tim
Pygame Tutorial #2 - Jumping and Boundaries
Tech With Tim
Pygame Tutorial #3 - Character Animation & Sprites
Tech With Tim
Pygame Tutorial #4 - Optimization & OOP
Tech With Tim
OBS Studio Tutorial - Best OBS Settings
Tech With Tim
Linear Search Algorithm - Python Example and Code
Tech With Tim
Make Any Mic Sound AMAZING! (WITH OBS)
Tech With Tim
Binary Search Algorithm - Python Example & Code
Tech With Tim
Pygame Tutorial #5 - Projectiles
Tech With Tim
Pygame Game - Mini Golf
Tech With Tim
Pygame Tutorial - Projectile Motion (Part 1)
Tech With Tim
Pygame Tutorial - Projectile Motion (Part 2)
Tech With Tim
Pygame Tutorial #6 - Enemies
Tech With Tim
Pygame Tutorial #7 - Collision and Hit Boxes
Tech With Tim
Pygame Tutorial #8 - Scoring and Health Bars
Tech With Tim
Cloud Mining vs. Hardware Mining - 2018
Tech With Tim
How to Install Pygame on Mac OSX (Fast-Simple)
Tech With Tim
Pygame Tutorial #9 - Sound Effects, Music & More Collision
Tech With Tim
Pygame Tutorial #10 - Finishing Touches & Next Steps
Tech With Tim
How to Fade Your Screen in Pygame [CODE IN DESCRIPTION]
Tech With Tim
How to Create a Button in Pygame [CODE IN DESCRIPTION]
Tech With Tim
Pygame Side-Scroller Tutorial #1 - Scrolling Background/Character Movement
Tech With Tim
Pygame Side-Scroller Tutorial #2 - Random Object Generation
Tech With Tim
Pygame Side-Scroller Tutorial #3 - Collision
Tech With Tim
Pygame Side-Scroller Tutorial #4 - Scoring and End Screen
Tech With Tim
How to Create A Message Box in Python - Tkinter
Tech With Tim
Is Ethereum Mining Still Profitable - Is It Worth It (April 2018)
Tech With Tim
How to Run MAC OSX on a WINDOWS PC (Clover Boot-loader)
Tech With Tim
Programming Problem #1 - Alphabet Soup (Beginner/Novice)
Tech With Tim
More on: LLM Foundations
View skill →
🎓
Tutor Explanation
DeepCamp AI