GenAI Essentials – Full Course for Beginners - Ep205
2025-07-11 13:34:03 [kotlin] Source: MetaScripta
this a little bithere um let just give me a second okayokay here it's suggesting I need to dopo reinstall I mean we already did itbut let's do ai ethics debateit again Iguess oh maybe because we resolved thelock file that it actually neverinstalled anything okay that's probablywhathappened I see so now we're actuallyinstalling things for real and thislooks a lot like Ruby this is totally arubyexperience all right so that's nowinstalled let's go take a look and seeif we can get thisrunning and it's going out to I assumechatgbt what do we have sofar so the objective of thegame okay so we have the agent you willcreate the task so we have the task okaythat makes sense we'll go downbelow I assume what it's doing is it'sjust working so we'll just wait there wego so cameback with the code so now we're gettingcodeback final answer okay so now it'sproduced the final answer forus so now it's going through thesoftware quality control engineer thisis really interesting because um this isnot out yet but but in the boot camp wewe code something and we're notnecessarily using an agent but we areusing um we're reading this by hand andI like how this process is very similarso that's really interesting so now wehave the software quality controlengineer it looks like it's producingits own codeokay and then we have the third agentrunningokaycool and so here's the result okay sonow we can go ahead here final code forthe game I can assume that this worksbecause otherwise how would it not if umit have it as an example we'll go aheadand copy that and I'm going to make thenew game here let besnakeP go ahead and paste itin and so now we have our game here I'mnot sure what this utilizes uses Pi gameum I'm not sure if I can run thison my on thisenvironment cuz I think this has a UIright so I'm not sure if I couldactually run it here I I'll try but I'mnot I don't think it will work here umso we'll dopython python um snake.py well do pip install Pgame pip install P game my typing get alittle bit off my office is really coldbecause it's winter right now um butwe'll go ahead and try this I reallydon't expect this to workhere yeah because this would only workon a local machine so what I'll do isI'll download thisfile this looks successful so I'm goingto go ahead and copy what I canhere so go ahead here and just saysave um but what I want to do is I wantto open up visual studio code locallyhere we go and I'm just going to load inthis single file here so I'm in the GenEssentials here this actually is thesame cor so I could just pullit okay so we're just pulling the latestcode and now I'm in my local developerenvironmentobviously um and then I'm going to CDinto crewAi and into the game crewBuilder and I'm going to do I'm going todo pipinstall P game because I think that'sthe only thing we need to run thisokay and so that's going toinstall and now what I'm going to do isgo ahead and run this we'll say umpythonsnake.um no it's just python maybe Python 3st.and so what I'm expecting is it tolaunch some kind ofinterface but right now we are in uh WSLso that might notwork now that I'm thinking about it I'mnot sure how would that how would thatwork here it wouldn't so it is runningbut I don't think it has any way for usto see it so actually I'm going to haveto go over to um terminal here now I'mon WindowsWindows I have command prompt on thismachinehere uh do I have pythoninstalled okay so we'll type exit and umI'm going to CD into this directory hereand then we're going to go into JEssentials and then we're going to gointo crewAI if you can't get this to run it'stotally fine like it's a lot of work todo this if you're on a Mac this would bea lot easier obviously but um I'm goingto go ahead here and let's dodi um so I'm going to do python or we'lldo pip install pip install P game sowe'll install it now now it's installingon my windows side of my machine notwithin WSL because this needs a way oflaunching and it needs some kind ofinterface that Taps into the uh Windowsum API this should work on Mac by theway if you're on a Mac on on Linux Ihave no idea um so we'll go ahead andwe'll run this so we'll say uhpython uhsnakey so now it should open up andthere we go so we have ourgame and itworks coolCo all right I'm sure you don't want towatch me play this all day but let's goback to the source code in the browserhere andso we saw that there were two differentones here we had in theinstructions um not instructions but inour code examplewe have one that's train and there's onethat'srun so notice that this one says trainand so this allows it to go throughmultiple iterations and um I can'tremember the term for it what's itcalled it's a reinforcement learningthis is reinforcement learning and sothat's really interesting to me that wecan go through that and so I guess theidea is that it would continuouslyproduce the code that produces the bestoutcome um and so I mean we're not goingto run that here to day cuz I don't wantto use up a bunch of my um compute or mysorry my API credits because I'm notsure how much it would utilize but thisis just one example and so we areobviously looking at the uh codingexample for a game but you could applythis to anything and yeah it's just thatit gives you the boilerplate code to doit and so this is something that's superpowerful and really awesome um I don'tknow why I don't use it more be becauseI know about it but uh anyway there yougo and so we will see you in the nextone okay ciao
(Editor: kotlin)
Related content
Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep33
[Hindi (auto-generated)] Machine Learning FULL Course with Practical (10 HOURS) _ Learn Free ML in 2025 _ Part-1 - Ep56
Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep253
Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep34
Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep284
- Solana Developer Bootcamp 2024 - Learn Blockchain and Full Stack Web3 Development - Projects 1-9 - Ep37
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep11
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep173
- [Hindi (auto-generated)] Machine Learning FULL Course with Practical (10 HOURS) _ Learn Free ML in 2025 _ Part-1 - Ep32
- GenAI Essentials – Full Course for Beginners - Ep173
- Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep122
- Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep14
- Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep50
Recommended articles
-
Solidity, Blockchain, and Smart Contract Course – Beginner to Expert Python Tutorial - Ep84
to be the die tokenagainand of course with our account I believeour approve erc20 already calls weig ...[Details]
-
generative model itis working Tech uh it is working interms of text to image generation textto image ...[Details]
-
alreadystored my Vector so let's store till5,728 okay so you can complete the uhlike this Vector upl ...[Details]
-
allrightso let me first of all test whether Ihave GPU here or not maybe there is noGPU here how can ...[Details]
-
Solidity, Blockchain, and Smart Contract Course – Beginner to Expert Python Tutorial - Ep16
the solidity that we'regoing to learn here obviously is goingto apply everywhere as well when youcom ...[Details]
-
Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep47
random variables and it's going toinclude that summation notation toindicate that I'm summing up add ...[Details]
-
Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep105
a third neuron and seewhat happens now I go ahead and train itand now using three different decision ...[Details]
-
to calculate theaccuracy right you need to calculate howaccurately your model is predicting theoutco ...[Details]
-
GenAI Essentials – Full Course for Beginners - Ep43
refresh yourpage for more access and today it's justwe're getting a lot of trouble and itlogged me o ...[Details]
-
right now it has comecombined everything di it has combineduh for the data analysis part also ithas ...[Details]
Hot reading
Random content
- Solana Developer Bootcamp 2024 - Learn Blockchain and Full Stack Web3 Development - Projects 1-9 - Ep15
- Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep104
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep85
- Artificial Intelligence Full Course _ Artificial Intelligence Tutorial for Beginners _ Edureka [DownSub.com](1).txt - Ep30
- GenAI Essentials – Full Course for Beginners - Ep11
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep176
- Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep5