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
-
36:41
Tech With Tim
1 year ago $0.03 earnedPython Selenium Tutorial - Automate Websites and Create Bots
268 -
LIVE
The Mel K Show
2 hours agoMORNINGS WITH MEL K - Constitution Incompatible with Globalist Goals 9-16-25
698 watching -
35:35
Grant Stinchfield
2 hours ago $0.65 earnedRFK Jr. Speaks Out: The Pain of Assassination & the Loss of Charlie Kirk
13.4K2 -
1:59:33
Benny Johnson
3 hours agoKash Patel Testifying LIVE Now on Charlie Kirk Assassination, Trump to Declare Antifa TERRORISTS?!
97.6K69 -
2:07:38
Timcast
4 hours ago🚨LIVE: Kash Patel Testifies Over Charlie Kirk Assassination In Senate | Tim Pool
105K68 -
1:01:08
Trumpet Daily
1 hour agoTrumpet Daily LIVE | Sept. 16, 2025
17.1K1 -
LIVE
The Shannon Joy Show
2 hours agoTrojan Horse Trump Pushing ‘Worse Than Biden’ Speech Control Using Kirk Killing. Guest Brett Miller
225 watching -
1:01:35
VINCE
4 hours agoThe Left's 'Malignant' Violence Problem | Episode 126 - 09/16/25
247K138 -
LIVE
LFA TV
7 hours agoLFA TV ALL DAY STREAM - TUESDAY 9/16/25
3,832 watching -
1:45:59
Dear America
5 hours agoKiller ADMITS To Killing Charlie In DISCORD. Terror Cell EXPOSED! + JD Fills In on Charlie’s Show!
169K92