Soallwewouldreallyneedtodoislike, let's saywehave a listofdiagonalsbecausebasicallytheendofthedaywhenweweredoingverticals, webuild a listandseeifallthenumbersarethesame.
Wedidhorizontal.
Wedidn't evenhavetobuild a listtoseeiftherewereallthesame s.
Sowhenwedodiagonalsagain, we'rejustgonnabuild a listandseeifourtheyallthesame.
SoSothat's allwe'redoingagain.
Sowe'regonnasaydiagonalsis a list, andthenwe'regonnasayfourandwe'resay, I x tobeindexinrangeofthelandofourgame.
Sothatwillbe 012 Aswe'vealreadyseen.
Allweneedtodoisdiagdotupendandthenweappendgame.
Notthatwhateverthatwasgameandthenthat i x forindexin i X againReallysimple, thenallwehavetodo.
Well, let's justprint, umDiag.
I don't thinkyouneedtoseethethisthing, butbasically, we'rejustgoingtousethislogicagain, andratherthancheck, it's goingtobediag.
Butit's just a wayforyouto, likesaveyourAJlikeisitallowsyoutoserializeyourobjectinlikebasicallyyoucanthinkof.
Itisit's a waytosaveanobjectlike a fileonyourcomputerandloaditback.
Soit's likealready a pythonobjectwhenyouloaditin.
Um, soinlikePython, too, thatwas a pipeyourpythonimplementationif I'm notmistaken, andthenthere's a C pickleinPythontowhereasinPythonthree, it's justtheseaimplementation.
I thinktheyfiguredlikeifsomeoneisawareoftheexistenceofseapickle, they'realwaysgoingtousehepickles.
Somepeoplehavebeencomplainingthattheeditorialswere, like, twoshortnormally, likemytutorialsorsomewhereinthe 10 to 20 minutemark.
Butpeoplearealwayscomplainingtheretoolong.
Andthenthesecond I make a nineminutevideogodstooshort.
So I thinklikethesweetspotmustbelikeexactly 10 minutesorsomethingaren't ofpeoplewho'vebeentrainedbecausenowcreatorstrytomake 10 minutevideosbecauseifyoumake 10 minuteorlongervideo, youcanyoucanthrowin a secondsetofads.
Um, I'veneverdonethat, butyoucandothat.
Andthat's why a lotofcreatorshavestartedmaking 10 minutesor 10 minuteinonesecondvideos.
Soanyways, um, honestly, I justgountilthetopiciscovered.
Soifyouthinksomething's toolongortooshortSorry, I reallydon't payattentiontothetime.
SoOkay, sowehavedonethetwodiagonals.
I'm prettyconfidentthatwe'vegotit, Butinthenextpart, partnumber 13 What I'm gonnadoiswe'regonnaputeverythingtogether, andthenwecankindofplaywiththegamemap, makesurewe'llcheckeverything, Um, andthenweshouldbeabletodothatwithin a coupleofminutes, andthenwe'lladduserinputsotheusercanactually, likeplaythegame.
Nowwe'llcheckthat, andthecodewillbasicallybedone.
Theonlyotherthing I wanttomakethegamedynamicitselfAlso, weneedtomakedynamicstringthatgetsprintedrightabovethegameboardbecausethat's gonnabothermeifthat's liketheonethingthat's notDynamic, and I thinkthat's aboutit.
Um, andtomakethatdynamicwilluse 1/3 partypackage.
Someonedidmentionitbefore, but I waslike, Go, we'renotthereyet.
Uh, andthen, umandthenmaybewemightuseanotherthirdpartypackagestomakethingslook a littleprettier.
Ah, theonlyotherthing I'm planningtodoisthatweneed I wannahaveonemore 3rd 1/3 partypackagethatwegetintoso I canshowyouguyshowyoushouldgoaboutusingthirdpartypackages.
That's whatpythonsallabout.
So I'm leaningmoresotowardsWebdevelopment, somethingwithflask, justbecauselastprettyeasytoquicklydoexampleswith, I mightwhere I coulddolikedataanalysisorsomethinglikethat.
Soifyouhave a votebetweendataanalysisorWebdevelopment, it's notgonnabe a fullSiri's.
It's justlike a quickexample, likeitwouldbelike 123 videosatMax.