HTML Snake with OpenAI o1

Поділитися
Вставка
  • Опубліковано 4 лис 2024

КОМЕНТАРІ • 243

  • @TheMrNomadus
    @TheMrNomadus Місяць тому +366

    Finally we can use an AI to code GTA6 before GTA6

    • @thomblueart8448
      @thomblueart8448 Місяць тому +15

      never complain its taking to long, we don't want another cyberpunk 2077 do we?!😅

    • @ggg9gg
      @ggg9gg Місяць тому

      You are right

    • @cuteninjaturtle
      @cuteninjaturtle Місяць тому +7

      why not we use GPT 5 to code GPT 6?

    • @kisatom
      @kisatom Місяць тому

      It has a limitation of 50 messages / week!

    • @kisatom
      @kisatom Місяць тому

      @@cuteninjaturtle It is not the code that improves, it is a language model that needs specific training on data.

  • @PhantasmThe
    @PhantasmThe Місяць тому +455

    Why did it cut after the snake hit the AI obstacle, maybe it went through and didn't collide

    • @SuperFoxy8888
      @SuperFoxy8888 Місяць тому +45

      I was thinking about that

    • @bpolat
      @bpolat Місяць тому +9

      be serious man.

    • @gil-evens
      @gil-evens Місяць тому +147

      > o1 codes a whole game in few seconds
      > redditor still finds something insignificant to yap about

    • @CubsYT
      @CubsYT Місяць тому +59

      The video includes the code that makes the game work, and that code does have a check for if you touch an obstacle that makes the game end. Code approved 🙌

    • @chipko
      @chipko Місяць тому +13

      the end game scenario might be blank and that wouldn't show well in the edit...

  • @drinkanderive
    @drinkanderive Місяць тому +37

    @2:38 we can see, response saying "....avoiding previous issues where the obstacles resembled "HI". This tells that, they actually cut the video, ran two or three iterations of prompts to get the correct code.

    • @SamuelJosephMollel
      @SamuelJosephMollel Місяць тому

      Genius.😂

    • @00steve00-hv4jv
      @00steve00-hv4jv Місяць тому +4

      Or it could just be that the model iteratively built the solution from previous intermediate 'final' solutions, from the feedback of other intermediate models.

  • @joshsowin
    @joshsowin Місяць тому +49

    It would be nice to compare what the output would be vs GPT-4 or 4o, because we’ve been all making snake games like this since GPT-3.5

    • @Farxad2004
      @Farxad2004 Місяць тому

      Yes. That would be interesting. We don’t see anything new yet

    • @Dis3spectful
      @Dis3spectful Місяць тому

      Hugging face (the website) allows you to compare models like this

  • @kaytieanddreambreen4554
    @kaytieanddreambreen4554 Місяць тому +181

    People: AI is going to be a threat to world security
    AI in 2024: Makes Nokia snake game

    • @SaVeGe_OmG
      @SaVeGe_OmG Місяць тому +12

      It's actually scary to think about it that they already made an ai which can do it's own games and many more, it's very close to human but some things it lacks, physical body and creativity with emotions.

    • @Ritm2
      @Ritm2 Місяць тому +24

      @@SaVeGe_OmG "Very close to human". Copies game that has been done hundreds of times and was on its training data. Why dont you try to build a game with chatgpt that is new?

    • @Ivcota
      @Ivcota Місяць тому +11

      @@Ritm2 I can build snake game in 4 minutes without ai. Just need the internet & cmd + c | cmd + v

    • @SaVeGe_OmG
      @SaVeGe_OmG Місяць тому +5

      @@Ritm2 I don't think you view AI same as i, Yes you're right it's using it's training data to know how to code but think about that it can code whatever the heck you want and the fact it already understands jokes lies and other stuff.
      Think about how Powerfull it is already, Like 3 years ago there was gpt 3.5 released to public if I'm not wrong and now we got this.

    • @Craft07
      @Craft07 Місяць тому +1

      Simkkk

  • @davidtokar9432
    @davidtokar9432 Місяць тому +71

    We are still stuck at the snake game? I thought it's supposed to be the end of the world.

    • @alexheaton2442
      @alexheaton2442 Місяць тому +1

      Lol

    • @luiggymacias5735
      @luiggymacias5735 Місяць тому +5

      Sometimes I get scare that ai will replace all jobs, but then I think, that's amazing, if we can have a robot that does all for you, why complaining, I really like to read, and if that's all I have to do for now on, well that's fine since AI is doing everything, but I don't think I Will ever see a world like I robot

    • @v1nigra3
      @v1nigra3 Місяць тому +1

      It’s called a benchmark

    • @immortalbk00
      @immortalbk00 Місяць тому

      OK... pls make Candy Crush 😁

    • @AlexSorg
      @AlexSorg Місяць тому +1

      @@luiggymacias5735 It won't replace jobs, but it might eventually replace people not using AI for their job. Simply said.

  • @SteffenProbst-qt5wq
    @SteffenProbst-qt5wq Місяць тому +11

    The thinking of the model is likely implemented using a hidden area where the model generates normal text output.
    Its basically a thought (like step by step prompting but hidden) which is done to enhance its reasoning and latent activations before responding, nothing really new (I think >6 months old)
    Edit: They seem to also have used new techniques for training, likely implementing a rag to retrieve reasoning bocks/examples for the new training data.

    • @casvanmarcel
      @casvanmarcel Місяць тому

      yeah. they are trying to market this like it's not just another LLM "wrapped in a loop"

    • @arjix8738
      @arjix8738 Місяць тому

      definitely more than 6 months old
      this what autogpt abd babyagi have been doing

    • @SteffenProbst-qt5wq
      @SteffenProbst-qt5wq Місяць тому

      Although one has to admit, even if they would only use this along with gpt-4o, this is going to top the charts

    • @handlewastaken
      @handlewastaken Місяць тому

      Yeah. I suspect they just trained the model more on chains of thought, and that's probably why they don't want people to see them (it'd be easy to train something similar?)

    • @ZombieCakeHD
      @ZombieCakeHD Місяць тому +1

      Write your own script utilizing 4o that just passes the completion back to the API to simulate the reasoning in your own words. You won't get the same results at all lol.

  • @KimiMorgam
    @KimiMorgam Місяць тому +81

    I really need access to the new voice mode 😢

    • @ilyass-alami
      @ilyass-alami Місяць тому +7

      But We don't want to pay again we want it free

    • @mulira
      @mulira Місяць тому

      ​@ilyass-alami get a job freeloader

    • @RJBrooker
      @RJBrooker Місяць тому +4

      You sound very lonely?

    • @luiggymacias5735
      @luiggymacias5735 Місяць тому +3

      ​@RJBrooker I can fix that

    • @cesar4729
      @cesar4729 Місяць тому +1

      Use Cerebras.

  • @TwistedSystemsGA
    @TwistedSystemsGA Місяць тому +21

    What do we have here, a o1 preview. Exciting!

  • @neurocosm
    @neurocosm Місяць тому +1

    I did this last year! Well, I used AI and only AI to create the old Nokia phone snake game in HTML/JS, and it works awesome. I have it running on my server - so fun and nostalgic. Runs on any browser, of course, so accessible on a phone.

  • @CripsyFries
    @CripsyFries Місяць тому +3

    Claude did that easily. It even made a working AI for it when i asked it.

  • @WC5Studios
    @WC5Studios Місяць тому +47

    No sora.. no voice… 😢

    • @lev1ato
      @lev1ato Місяць тому +3

      they could release AGI and people would still complain about no voice and sora 😂😂 one thing that I am waiting for and excited for is the new audio model will not only be able to generate better voice, but also sound effects, in one of their examples they asked model to put OpenAI logo on a coin and then to generate a sound of that coin 🤯🤯

    • @duhai1836
      @duhai1836 Місяць тому

      not going to happen before the election !

  • @itsRemco
    @itsRemco Місяць тому +11

    Out of nowhere we get to be blown away again haha 🔥

    • @Aaron-md2eo
      @Aaron-md2eo Місяць тому +2

      haha nooo don't tell me a fellow jazz and stride fanatic turns out to also be a fellow AI fanatic 🤯

    • @noone-ld7pt
      @noone-ld7pt Місяць тому +5

      Nah sorry this is not mindblowing, Claude has done this for a while now.

    • @itsRemco
      @itsRemco Місяць тому

      @@noone-ld7pt It's a battlefield in the IT/AI space
      Android also had the Panorama option 10 years before Apple had it but nobody gives a f anymore. It's about now hahah

    • @itsRemco
      @itsRemco Місяць тому +1

      @@Aaron-md2eo Hahha how fun to discover your comment this way! 😁 yeah I'm busy building my @miditools so I have to keep my eyes open for these developments 👀

    • @davidtokar9432
      @davidtokar9432 Місяць тому

      @@itsRemco its your first time online since 2022? XD

  • @shyamchugh6737
    @shyamchugh6737 Місяць тому +7

    What is the model doing specifically now when it is thinking than when it was not thinking in the previous generations?

    • @trhnys_tbr
      @trhnys_tbr Місяць тому +3

      It basically loops its own responses to new input to itself repeatedly, and correcting itself this way

    • @Rudgged
      @Rudgged Місяць тому

      @@trhnys_tbrAwesome, exactly what I’ve been hoping for. Even though the 4o model should just do that anyway.

    • @AIToolsUniversity
      @AIToolsUniversity Місяць тому

      It triple checks and verifies that it follows openai policy

  • @nufh
    @nufh Місяць тому +27

    That is mini version... I wonder how powerful the non-mini is.

    • @Pils10
      @Pils10 Місяць тому +13

      Writing a snake game was already possible with GPT4o, Cloud 3.5 Sonet and Llama 3.1. I'm really interested in how to new model handles vector shapes and raycasting, cause that shit is complicated as f*ck and previous models never managed to correctly implement it. If that works, I would be impressed.

    • @davidtokar9432
      @davidtokar9432 Місяць тому +2

      @@Pils10 yeah this demo is terrible, will have to test it when its out

    • @Pils10
      @Pils10 Місяць тому +1

      @@davidtokar9432 Already did some tests. It's definitely better in development than GPT4o (way less errors), but with the current usage limit of 50 messages per week (not day!) it is pretty much unusable when it comes to any production tasks. Simply because you often need 3-5 messages just to a somewhat functioning, barebone prototype. Let's just hope OpenAI will up the limit in the coming weeks.

  • @SirQuantization
    @SirQuantization Місяць тому

    The cut right before the snake itself touched the obstacle was deliberate xd

  • @NicheAmbassadors
    @NicheAmbassadors Місяць тому

    Even I created an ai model that does mathematical operations. It was one of my favorite moments when i saw AI doing calculations without using code interpreter, just by using if else conditions, crazy isnt'it?

  • @ufufu001
    @ufufu001 Місяць тому +8

    why does bro look so uncomfortable

  • @Earl_E_Burd
    @Earl_E_Burd Місяць тому +12

    When you do the assignment 10 minutes before it's due

  • @RJBrooker
    @RJBrooker Місяць тому +4

    "Let's go old school..." like it could build anything else 😅

  • @briangreenberg5986
    @briangreenberg5986 Місяць тому

    Pretty cool! Excited for some competition with Claude. Existing models are already decent at making small html/js/css projects. Worse at using modern frameworks or working with large codebases and multiple files, much worse when using libraries modules or third party APIs. Wonder if this model will make improvements in that direction!

  • @simon_der_xxl_tomapfel9305
    @simon_der_xxl_tomapfel9305 Місяць тому +2

    Yes I can continue to build my website 💪🏼

  • @tianchu9133
    @tianchu9133 Місяць тому

    This is pretty cool! But what value can it create for the average user? I feel that most people are still more interested in advanced voice and real-time video conversations.

  • @user-akrturuus
    @user-akrturuus Місяць тому

    last weekend chat gpt 4 helped me optimize my C# code for parallel computing on CPU cores, and I don't know how to do this it's incredible!

  • @user-db4dd4ze3n
    @user-db4dd4ze3n Місяць тому +3

    I am glad that HTML is not in the coding section

  • @maxziebell4013
    @maxziebell4013 Місяць тому

    This is great! We need an Artifacts feature! Please…

  • @Mesomeric_Music
    @Mesomeric_Music Місяць тому +2

    Dear programmers, please explain what happened exactly at [1:09] ?
    I mean the transition from notepad to the game. How did that happen?

  • @hamzamihfad4884
    @hamzamihfad4884 Місяць тому +3

    Awesome! please use dark mode, white is too painfull for programmers eyes.

  • @ZenoMinus
    @ZenoMinus Місяць тому +8

    This kind of games are part of the training data set, almost sure. What they did is polish it up so that has less bugs in guess.
    Not impressed!

    • @GogiTavadze
      @GogiTavadze Місяць тому +3

      Not just that, but they never told AI the rules of the game! It saw 9999 snake games in train data

  • @mihirvd01
    @mihirvd01 Місяць тому +4

    WHAT A TIME TO BE ALIVE!

  • @NextGenart99
    @NextGenart99 Місяць тому +2

    Reading the A.I obstacle section of the code it seem there is a mistake, the snake won’t collide

  • @Techtalk2030
    @Techtalk2030 Місяць тому +7

    BRING BACK SKY!

  • @NerdVenturesAbroad
    @NerdVenturesAbroad Місяць тому

    Longer code blocks need another "copy" link at the end so you don't need to scroll up again and the readaloud function needs speed changes per chat or via settings (way too slow atm).

  • @real9270
    @real9270 Місяць тому +1

    mom: we have roko's basilisk at home

  • @kaytieanddreambreen4554
    @kaytieanddreambreen4554 Місяць тому +2

    The favourite game of every 90s kid

  • @zooli9
    @zooli9 Місяць тому +2

    I dont think snake would be a good representation if it is really that intelligent, snake's after pong's codebase is probably the most rewritten online

  • @samboo25
    @samboo25 Місяць тому

    What would be interesting to see, when the developer requests a modification he completely rewrites the code, did he simply implement the requested element or rewrite everything in another way like GPT4 does? Claude sonnet, manages the additions well, without this ability as it stands we cannot go very far. Even if the use of EDI like Cursor allows you to manage this problem.

  • @ChrizzeeB
    @ChrizzeeB Місяць тому +3

    Wtf... Why snake? The same model test we've seen all year...

  • @Kakashi-sr1yr
    @Kakashi-sr1yr Місяць тому +1

    why i can make the same code with GPT 3.5 and it's require less prompt ....
    can you please explain ?

  • @MAFiA303
    @MAFiA303 Місяць тому +3

    wow, i didnt know you can close vim without rebooting your laptop

  • @toadpickle
    @toadpickle Місяць тому +1

    omg I love this guy 🤗

  • @abhrodipsingharoy4508
    @abhrodipsingharoy4508 Місяць тому

    I don't understand why only o1 preview? It takes longer to think so it should be used for coding which o1 mini can't do. I mean most of the people for coding will go for mini due to its faster response compared to o1 yet they didn't focus on that.

  • @paulthiebaut
    @paulthiebaut Місяць тому +1

    Claude AI could already do that a long time ago

  • @WellBlueGmbH
    @WellBlueGmbH Місяць тому +2

    I believe that naming it o1-mint instead of o1-mini could have avoided a lot of confusion, as it performs better on Codeforces. o1-mini Elo score: 1,650 vs. o1-preview: 1,258. Also, the fact that o1-preview is used in the videos instead of o1-mint probably adds to the increased confusion. However, it's understandable that the videos might have been created before the public benchmarks. But it's nice that it's finally live. Now we just need GPT-4o Voice.

  • @zen1tsu-sam
    @zen1tsu-sam Місяць тому

    o1 o2 o3 o4 ... that'll be a trajectory!

  • @damiantriebl1747
    @damiantriebl1747 Місяць тому

    I do the same with 4o, I do a functional tetris, but I thinks is checking the previus information of all repos of previus tetris, O1 is capable to create a original idea of game?

  • @mikhailkalashnik0v
    @mikhailkalashnik0v Місяць тому +1

    It would be great if it copied output to clipboard by default.

  • @swetlanaAI
    @swetlanaAI Місяць тому

    Gotta screenshot this 📸✨

  • @selfhosted-lover
    @selfhosted-lover Місяць тому +2

    add feature like claude artifact is better

  • @Renvoxan
    @Renvoxan Місяць тому +2

    There is less than 7 years until AGI.

    • @davidtokar9432
      @davidtokar9432 Місяць тому

      @@Renvoxan yeah next year maybe it will be able to tell you how many Rs are in the word strawberry, and after that we should be there

    • @KimPax1
      @KimPax1 Місяць тому

      Are us sure do you even know how these LLMs work if they countinue on this pathetic AGI eill never be achieved

    • @Renvoxan
      @Renvoxan Місяць тому

      @@davidtokar9432 done

    • @davidtokar9432
      @davidtokar9432 Місяць тому

      @@KimPax1 its cause they are not trying to show people what its actually good at, but are just gaslighting people into thinking we are close to AGI so they get funding

  • @ussassu
    @ussassu Місяць тому

    Didn't show what happened when you hit the obstacle... if there is a "game over" and then "restart" button.

  • @nathanbanks2354
    @nathanbanks2354 Місяць тому

    Wonder if fruit ever appears inside the "A" of "AI" where you can't get to it...of course this is still pretty impressive for an AI.

  • @sihhaoo
    @sihhaoo Місяць тому +2

    Am I the only Asian guy not working In OpenAI? I am pathetic.

  • @zaingujjar4854
    @zaingujjar4854 Місяць тому

    o1 has very small limit once the limit finished you would have to wait for 10 days to get it to reset
    \

  • @Firrodrigolosofia
    @Firrodrigolosofia Місяць тому

    Ok, so AGI will come before we have Half Life 3, for us, humble peaseants will be able to fully develop it.

  • @nikolamladenovic8901
    @nikolamladenovic8901 Місяць тому +1

    Why is this news? It was able to do this a year ago.

  • @duffy666
    @duffy666 Місяць тому

    Matthew Berman likes this.

  • @yassirhalaoui
    @yassirhalaoui Місяць тому +1

    Sorry Claude sonnet 3.5 did it way before and it does it better

  • @icesteel5855
    @icesteel5855 Місяць тому +5

    In the first segment the research didn't write the first command (snake game ) , it was pre written , Nice acting.

    • @gil-evens
      @gil-evens Місяць тому

      no shit sherlock

  • @paullieber4797
    @paullieber4797 Місяць тому

    Beginner here, why do they always run their code in a terminal instead of a real IDE like VS Code for example?

  • @NotToji777
    @NotToji777 Місяць тому

    First perplexity & now Claude artefacts openAi became the Metrix

  • @n-o-i-d
    @n-o-i-d Місяць тому

    OpenAI snake oil with HTML
    There, I fixed the title for you

  • @AIToolsUniversity
    @AIToolsUniversity Місяць тому

    I find this model to be overly restrictive

  • @MegaPixel404
    @MegaPixel404 Місяць тому

    This could really do with a document icon to open the code in side by side mode and/or save as file. Quite easy to implement save as file virtually serverside and clientside.
    Also hopefully this new model will make custom GPTs useful, at the moment it forgets, doesn't pay attention to what documents you have given it and doesn't follow documentation supplied.
    @OpenAI. When uploading a document to a GPT, don't just say failed with no reason, you could at least tell us there's a limit on the number of documents and if there is a file size limit. Sometimes it's ok for about 1 or 2 prompts, then it goes mental and it starts re-writing code that was correct and not where you and it wasn't even working on.
    @OpenAI. When can you implement the ability to allow others to pay to use the GPTs we build? We will want to add and remove user access as and when needed for other openAI users.

  • @ckq
    @ckq Місяць тому

    As a viewer of Matt Berman they really just doing all his tests lol

  • @hqcart1
    @hqcart1 Місяць тому

    i cant even eat strawberries anymore!

  • @jaredf6205
    @jaredf6205 Місяць тому

    Can you just have to code run on the website like Claude does with artifacts?

  • @ilyass-alami
    @ilyass-alami Місяць тому

    Hey open ai , we are very excited with this model, but We don't want to pay again we want it for free

  • @charlesburke
    @charlesburke Місяць тому +1

    Amazing

  • @benjee9751
    @benjee9751 Місяць тому

    Show us the error too, what the hell!, what happened when the snake hit the obstacle?

  • @RootsThunder
    @RootsThunder Місяць тому

    This is the beginning, posting for future reference

  • @quebono100
    @quebono100 Місяць тому

    No way this model made a snake game 😬

  • @arashputata
    @arashputata Місяць тому +1

    testing it on the most reporoduced game on internet is a dumb idea :D

  • @karmaindustrie
    @karmaindustrie Місяць тому +1

    facial-feedback-hypothesis 💀

  • @lars2803
    @lars2803 Місяць тому

    amazing ... a new quantum leap

  • @Kylehudgins
    @Kylehudgins Місяць тому +1

    In the code you can see the obstacles took at least one extra attempt to get right, and instead of ai it wrote “hi” - what if that was intentional, it was saying hello to us because it knew it was doing a demo.

  • @ankursarkar3055
    @ankursarkar3055 Місяць тому +1

    Awesome

  • @ToshikoMotoGirl
    @ToshikoMotoGirl Місяць тому +1

    HTML❤

  • @AshishGupta-np3ld
    @AshishGupta-np3ld Місяць тому

    I am actually a bit sad and worried seeingn this, all those years of learning coding seem less worth it now

  • @artem8193
    @artem8193 Місяць тому

    Nobody talking about Apple advertisement?

  • @digitalsandboxx
    @digitalsandboxx Місяць тому

    why cant it just run the code withing in Browser like Claude can?

  • @errgo2713
    @errgo2713 Місяць тому

    Playing catch up with Claude then

  • @bob_smite
    @bob_smite Місяць тому

    well dougdoug showed chatgpt was able to make html snake, kinda

  • @ToneyCrimson
    @ToneyCrimson Місяць тому

    Yes but can it code Crysis?

  • @teodorodehesa3677
    @teodorodehesa3677 Місяць тому

    Holy Moly wakamoli

  • @VironPapadopoulos
    @VironPapadopoulos Місяць тому

    Ask it to create a game never before created and ask for instructions to play it!

  • @user-account-not-found
    @user-account-not-found Місяць тому

    I'll be impressed when it can even write a basic shader toy script. Till then a lot of this is comical.

  • @tiisetsorammego3053
    @tiisetsorammego3053 Місяць тому +2

    Is Sora and voice modes in 01?

  • @MouhcineNouidi
    @MouhcineNouidi Місяць тому

    I like that ❤❤

  • @CyberSQUID9000
    @CyberSQUID9000 Місяць тому

    Why didnt it decide that pygame was the quickest way to do it ?

    • @VivekPayasi
      @VivekPayasi Місяць тому +1

      it was asked in the prompt to use html css js

  • @lachingona
    @lachingona Місяць тому

    Ugh--didn't work for me. Whyyyyyyy

  • @amiigzz-6509
    @amiigzz-6509 Місяць тому

    🚀💯

  • @muhammad_saad_bin_thaiyib
    @muhammad_saad_bin_thaiyib Місяць тому

  • @djcrem00
    @djcrem00 Місяць тому

    Open Ai Bots DDosing us with content.

  • @markmatzke
    @markmatzke Місяць тому +1

    Wow, this implementation of Snake is impressive! 🎮🐍 I love the addition of AI-themed obstacles-it really spices up the gameplay and makes it more challenging. It’s amazing to see how a classic game can be transformed with a creative twist. Kudos to the team for the smart design and thoughtful enhancements! 🚀

  • @kepler_591b2
    @kepler_591b2 Місяць тому

    Release the video mode for ChatGPT

  • @brainer3220
    @brainer3220 Місяць тому +2

    AGI, UBI will come true.

  • @moohickey
    @moohickey Місяць тому

    Creepiest smile 2024

  • @Edson_Romani
    @Edson_Romani Місяць тому

    Great ;0

  • @kasswrhal-mohamadi1764
    @kasswrhal-mohamadi1764 Місяць тому

    Good