HTML Snake with OpenAI o1

75.87k views417 WordsCopy TextShare
OpenAI
Say hello to OpenAI o1—a new series of AI models designed to spend more time thinking before they re...
Video Transcript:
yeah let's maybe um demo a game right can we like Implement like a small game on HTML what game do you like the most uh let's go old school snake oh nice snake is a pretty Choice um okay um let's try it out shall we let's um implement the snake which HTML JS CSS maybe let's use a wd to control snake uh let seeit uh enter all right so wow the model gives us a really long implementation of the snake game uh let's see how it goes can you describe to me what it's doing like
um so it basically thans through like how we design the game how to design the canvas how to design the grid and how to implement the different logic of this um let's copy the copy the code and um let's [Music] HTML and um let's see what's this snake game okay we have a snake game it says press space bar to start or restart use WD to control okay we have um this little grein snake and uh you tries to eat this uh Red Apple I assume um okay let's make it more spicy let's make it
harder yeah let's make it harder what are your what are the options in your in your mind can you put in some obstacles oh that's a that's a Prett choice right the SN should have some obstacles um uh do you have any design choice you want to make in obstacles maybe make obstacles the letters AI oh that's nice uh let's see uh let's see tell this model to um add some obstacles and um they should form the letter [Music] AI right now the model is thinking and now it's uh returns us some a new implementation
that tries to further Implement AI into uh the grid all right and then after outputting the code it also gives us some like a description of what are the changes or the enhancements and uh let's see whether the code works all right now it actually looks like a giant AI on the screen and uh they are all the obstacles so it's really cool right very cool yeah it's exciting yeah it's a very exciting and smart model and uh as you see that the model really tries to see or try to think about all the instructions
that to the model and Tres to follow instructions and try to uh correct its own errors
Copyright © 2024. Made with ♥ in London by YTScribe.com