video thumbnail 13:26
Let's make an AI that destroys video games: Crash Course AI #13

2019-11-08

[public] 62.9K views, 2.06K likes, 24.0 dislikes audio only

channel thumbCrashCourse

Follow along: https://colab.research.google.com/drive/1uYXTDeBbPeuJfM1teufZ9nUaiRIN9nHW

Today we create a game and then build an AI to destroy it. Our game is called TrashBlaster, and it’s like Asteroids but with trash in the ocean, and instead of a spaceship John Green Bot is wielding a laser. We'll use machine learning techniques such as an evolutionary neural network alongside a carefully crafted fitness function to create an unstoppable AI.

To install the game on your computer download our repo on Github: https://github.com/crash-course-ai/lab3-games

Crash Course is produced in association with PBS Digital Studios: https://www.youtube.com/pbsdigitalstudios

Crash Course is on Patreon! You can support us directly by signing up at http://www.patreon.com/crashcourse

Thanks to the following patrons for their generous monthly contributions that help keep Crash Course free for everyone forever:

Eric Prestemon, Sam Buck, Mark Brouwer, Indika Siriwardena, Avi Yashchin, Timothy J Kwist, Brian Thomas Gossett, Haixiang N/A Liu, Jonathan Zbikowski, Siobhan Sabino, Zach Van Stanley, Jennifer Killen, Nathan Catchings, Brandon Westmoreland, dorsey, Kenneth F Penttinen, Trevin Beattie, Erika & Alexa Saur, Justin Zingsheim, Jessica Wode, Tom Trval, Jason Saslow, Nathan Taylor, Khaled El Shalakany, SR Foxley, Sam Ferguson, Yasenia Cruz, Eric Koslow, Tim Curwick, David Noe, Shawn Arnold, William McGraw, Andrei Krishkevich, Rachel Bright, Jirat, Ian Dundore

--

Want to find Crash Course elsewhere on the internet?

Facebook - http://www.facebook.com/YouTubeCrashCourse

Twitter - http://www.twitter.com/TheCrashCourse

Tumblr - http://thecrashcourse.tumblr.com

Support Crash Course on Patreon: http://patreon.com/crashcourse

CC Kids: http://www.youtube.com/crashcoursekids

#CrashCourse #ArtificialIntelligence #MachineLearning


fill up our tool box by importing some helpful libraries
/youtube/video/osbmLJb2Tkc?t=175.75999
load an image that looks like a laser ball
/youtube/video/osbmLJb2Tkc?t=212
create two layers with 15 nodes
/youtube/video/osbmLJb2Tkc?t=330.07901
start the weights of the neural network
/youtube/video/osbmLJb2Tkc?t=350.86899
add a penalty of negative two for every blast
/youtube/video/osbmLJb2Tkc?t=547.44
CrashCourse At Crash Course, we believe that high-quality educational videos should be available to everyone for free! Subscribe for weekly videos from our current courses! Right now, we're producing Climate & Energy. The Crash Course team has produced more than 45 courses on a wide variety of subjects, including organic chemistry, literature, world history, biology, philosophy, theater, ecology, and many more! We also recently teamed up with Arizona State University to bring you more courses on the Study Hall channel. Help support Crash Course at Patreon.com/CrashCourse.
/youtube/channel/UCX6b17PVsYBQ0ip5gyeme-Q
Thought Café our animators
youtube.com/channel/UCwTZ-JLF5FQ3EmQ2nPaS-lg
Biology by CrashCourse
/youtube/video/WhFKPaRnTdQ