Soit's a littlemorecomplicatedthanthat, butthat's basicallyit.
So, uh, aroundlikemid 2017 deepmind, themachinelearningslashdeeplearningcompanypartneredwithBlizzard, thecreatorsofStarcrafttwo, tocreateanAP I aroundthegametohelppeoplecreateartificialintelligenceistoplaythegamedeepmines.
Maininterestseemstobemorelikecreatingreinforcementlearningalgorithms, butwiththe A p I, youcoulddoanythingfromjustcreatingsimple, rulebasedbotsallthewayuptoyes, like a reinforcementlearningalgorithmthatyouwouldhopecouldcoulddefeatotherplayers.
Andthenwe'regoingtobeusingPythonDash S C twotointeractwiththeactualAP I itselfquickshutout, bytheway, tomytworecentsponsorsneedsvichandWerther's originalahusernamedWerther's originalnotactuallyWerther's originalthecompany.
Ifyoudidn't know, youcansponsorthechannel.
Ifyou'relookingat a video, thereshouldbe a bluesponsor, butinsomecountriesit's notavailable.
I I reallydon't knowanythingaboutputtingitonLenox.
I mayeventuallybefindingout, but, uh, atleastfornow, WindowsandMacSoAh, onceyouhavethat, you'regoingtoneedPythonDash S C tonottobeconfusedwithpiousSeetoo.
SopythonESItwois a differentwrapperthanpious, ctopious.
He, too, isfromdeepmindthemselves.
It's reallymorefocusedaroundreinforcementlearning, andit's a morecomplicatedpackage.
Ifyouaskme.
I thinkthisone's a littleeasiertogetstartedwith, andyoucoulddefinitelydoreinforcementlearningallthat.
There's, like, easy a mediumand a heart, andthenonceyoucan, like, consistently, beatthehard.
Butthen, sure, youmightwanttogoaheadandcompeteagainstmaybeyourownbodyor a varietyofdifferentbots.
Thenwhatwe'regonnadoisfromSCtwodotplayer.
We'regonnaimportthatboughtincomputer.
Sobutisus.
Likeifyouwannahavesomethingthatrunsbasedon a classthatyouwrite, youusebought.
Otherwise, thecomputerisjustthecomputer.
A I So I'm gonnastartwithmyclasscenter, butAndthat's gonnainheritfromSCtwodotBought a I Sowhatisbought?
A I SoifyougotoyourinstallationdirectoryforSC, too.
SojustwhereveryourpythonaslivespackagesSCtwo, you'llseethere's bought a I Ifyougoaheadandwriteclick, that'lljustopenanidoljustbecause, umandinhereyoucanseethebody I classandallthemethodsthatithasavailabletoit.
You'vegotthingslikeenemiesstartlocation.
Soyoucanprettyrelativelynolike, especiallyifit's one V one.
Thisis a methodthat's alreadybeenwrittenforus, as I justshowedyoudistributeworkersandallthisdoes, basicallyissoyou'regoingtostartthegamewith 12 littleworkers, andthenyouneedtotellthemwhattodo.
Thebahtwillberacedotprotoss, andthentheactualboughtitselfisgoingtobesent a potthenandactually, weneedtodothat.
Thenwhatwe'regoingtodioisspecifythenextpot, whichisgonnabe a computerplayer, andthecomputerwillberaisedonTehranandthenit's goingtobe a difficultydoteasyfornow.