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
-
41:38
Tech With Tim
1 year ago $0.07 earned3 Python Automation Projects - For Beginners
5722 -
47:47
Athlete & Artist Show
7 hours ago $0.86 earnedSeason 6 Premiere, NHL Season Preview!
12.1K2 -
17:17
Advanced Level Diagnostics
20 days ago $1.03 earnedWhy won't this Mack Truck Charge!
12.8K1 -
1:33:51
Steve-O's Wild Ride! Podcast
16 days ago $12.08 earnedJohn C. Reilly's Surprising Connection To Jackass (And Beef With Weeman!)
110K22 -
LIVE
StoneMountain64
4 hours agoBattlefield 6 Unlocks and Challenges
80 watching -
7:34:25
Total Horse Channel
12 hours agoLow Roller Reining Classic | Main Arena | October 11th, 2025
55.5K5 -
LIVE
GamerGril
5 hours agoZombie Fight Club 💞Dying Light The Beast💞
88 watching -
56:25
MentourPilot
1 year agoTITANIC of the Skies! - The Untold Story of Air France 447
42K7 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
218 watching -
2:07:47
LFA TV
19 hours agoTHE RUMBLE RUNDOWN LIVE @9AM EST
86.3K14