Premium Only Content

Python Pong AI Tutorial - Using NEAT
Welcome back to another video! At the beginning of this video you'll see an AI teaching itself how to play the game of Pong. It's doing it by using an algorithm called NEAT which stands for Neuro Evolution of Augmented Topologies. Now in this video I'm going to explain how this works and implement into this game! While it is focused on Pong, you can take what you learn and implement it into other projects, so I hope you enjoy and learn from this video!
💻Thanks To Apify for sponsoring this video! Get started using Apify today for FREE and get a 20% discount using the code: "TIM20"! https://www.apify.com?fpr=39sha
💻ProgrammingExpert is the best platform to learn how to code and become a software engineer as fast as possible! Check it out here: https://programmingexpert.io/tim and use code "tim" for a discount!
📄 Resources 📄
NEAT Documentation & Config File: https://neat-python.readthedocs.io/en/latest/xor_example.html
NEAT Article: http://nn.cs.utexas.edu/downloads/papers/stanley.cec02.pdf
Code In This Video: https://github.com/techwithtim/NEAT-Pong-Python
Flappy Bird AI: https://www.youtube.com/vawatch?v=MMxFDaIOHsE
Neural Networks For Beginners: https://www.youtube.com/watch?v=OS0Ddkle0o4
Pong In Python: https://www.youtube.com/watch?v=vVGTZlnnX3U&t=2s
Fix Pip (Windows): https://www.youtube.com/watch?v=AdUZArA-kZw&t=204s
Fix Pip (Mac): https://www .youtube.com/watch?v=E-WhAS6qzsU
⭐️ Timestamps ⭐️
00:00:00 | Pong AI Demo
00:02:02 | Setup & Installation
00:05:32 | Pong Game Walkthrough
00:09:44 | Playing Pong
00:18:35 | NEAT Explanation
00:32:38 | NEAT Config File
00:36:54 | NEAT Setup
00:42:35 | NEAT Training Methodologies
01:05:24 | Training Our AI
01:09:03 | Testing Our AI
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
👕 Merchandise: https://teespring.com/stores/tech-with-tim-merch-shop
📸 Instagram: https://www.instagram.com/tech_with_tim
📱 Twitter: https://twitter.com/TechWithTimm
⭐ Discord: https://discord.gg/twt
📝 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: https://www.techwithtim.net/gear/
💵 One-Time Donations: https://www.paypal.com/donate?hosted_button_id=CU9FV329ADNT8
💰 Patreon: https://www.patreon.com/techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
-Tech With Tim
-Python Pong
-AI Tutorial
-Python AI Tutorial
-NEAT
-NEAT Explanation
⭐️ Hashtags ⭐️
#TechWithTim #Python #Pong
-
11:30
Tech With Tim
1 year ago $0.01 earnedBuilding A Machine Learning Resume Project From Scratch
2233 -
1:07:55
vivafrei
3 hours agoJimmy Kimmel Out Indefinitely! Trump "Srubs" Study on Right Wing Violence? Clinton Tweet & MORE
176K58 -
1:35:02
The Quartering
4 hours agoNuclear Fallout From Jimmy Kimmel Firing, New Head Of TP USA, Obama Whines
193K61 -
23:35
Jasmin Laine
2 hours ago“We Were Betrayed”—Carney HUMILIATED As His Base REVOLTS Against Him
16.3K12 -
LIVE
LFA TV
19 hours agoKIMMEL GONE | ANTIFA LABELED TERRORISTS! - THURSDAY 9/18/25
1,271 watching -
LIVE
freecastle
6 hours agoTAKE UP YOUR CROSS- Hope In GOD, and Fear NO Evil!
119 watching -
1:34:10
The HotSeat
2 hours agoChapter 32 Begins: Honoring Charlie Kirk’s Legacy & Jimmy Kimmel Gets Canceled
14.7K5 -
LIVE
The Nunn Report - w/ Dan Nunn
3 hours ago[Ep 751] Jimmy Kimmel – You’re Fired! | Freedom of Speech is Not Freedom From Consequence
202 watching -
1:28:39
Sean Unpaved
5 hours agoBills-Dolphins TNF Battle, Steelers' D in Crisis, & Coaching Hot Seat Alert!
43.8K1 -
59:58
Human Events Daily with Jack Posobiec
4 hours agoANTIFA - The Domestic Terrorist Organization and the Leftist Who Murdered Charlie Kirk
44.5K36