There's goingtobe a significantamountofcopypastabecausewhat I justdon't seethepointofuslikewritingthisstuffoutandthenalsowritingout a lotofthecodethat's comingfromthepondgametutorial.
Sowhenyou'replayingthisversion, thatisfromthetutorial, thecomputerplayerthatwe'regonnareplacewithan A I, umThewayitmovesisbyfollowingtheball, itjustfollowstheballaround, andthat's it.
Soit's notlikethegreatest a I intheworld, butit's it's somewhatchallengingtodefeat, butit's actuallyprettysimple.
Um, onceyoulearnedthesimplewaytodefeatit.
Now, um, becausewe'renotalwaysgonnabeusingPeterGreenawaytoupdatethepaddleforour A I soactuallyare a eyes.
Soit's justlikethisoverarchingobject, I guess, anyways, movingonsomeonecomposedbelow a muchbetterdescription, I'm sureotherwiseyoucanlikeWikipediaorstackoverflow.
Um, I thinkthere's probablykorostuff, too, foryouknow, thisforselforjustWhatisthis?
Um, yeah, Okay, nowwehavesomecodeforit's a littlemorecustom, andallwe'redoinghereis, umthisbasicallyis.
You'resavingdataperframe.
Soattheendoftheday, whatdoweneedtotrain a model?
Weneedtrainingdata, sowehavetocollectthatdata.
Sointhiscase, whatwe'regoingtobedoingiswe'regonnaplayagainstthecomputerfor n games.
Andthenafterthat, we'regonnatakeallthetrainingdata, hopefullybalancedthetrainingdata, andthentrainthecomputerplayertobean A I deeplearning I toplayagainstus.
ThismodelesoWe'regoingtohavesomethingthatjustautomatically, like, playsthegame a bunchbyitself, justtwocomputersagainsteachothertocompile a bunchofdatatakingthatbunchofdatanottrainingintensorflowdotJscausetensorflowjustslow.