Can chatGPT write a game from scratch in c++?

Поделиться
HTML-код
  • Опубликовано: 16 дек 2022
  • Let's see if chatGPT is smart enough to write a game with no engine, just c++. Spoiler, it even added a game over screen, and this is already more than I usually implement in a game. Initially, I thought I'll just tell him to use SFML but then I thought why not teach him to use my custom framework!
    #cpp #gamedev #chatgpt #ai #software #gameprograming
    Check out my discord server: / discord
    Check out my steam game: store.steampowered.com/app/23...
    Source code:
    github.com/meemknight/aiGame
    Check out my other chatGPT video:
    • Can chatGPT write a ga...
    Check out another video from my channel:
    • I made a multiplayer g...
    If you are interested in learning how to make games in C++ check out this 4-minute video:
    • If you want to learn h...
    Music:
    illiterate, Mr Slipz - Early Rise chll.to/f80b951e
  • РазвлеченияРазвлечения

Комментарии • 41

  • @kelvinmulungu
    @kelvinmulungu Год назад +16

    Time to learn how to do build houses or something 😅

  • @myzxx
    @myzxx Год назад +26

    Honestly, as much as people say AI is going to take over game development, it probably wont ever because it will always
    1. Take human intervention
    2. Human design (Like art and graphics)
    3. Advertising and social media teams

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +2

      Yes, in the end I don't think it is a good idea to create a good ai but than forget how it works and rely only on it for coding

    • @player111q7
      @player111q7 Год назад +1

      For now.....

    • @AkariInsko
      @AkariInsko Год назад +1

      Ai is already pretty capable of generating art

    • @swiftypopty1102
      @swiftypopty1102 Год назад +1

      @@AkariInsko and there's an new ai model that can create 3d models too.

    • @AkariInsko
      @AkariInsko Год назад

      @@swiftypopty1102 yep 💀

  • @lukasjetu9776
    @lukasjetu9776 Год назад +1

    i'm your 750th subscriber, keep this up

  • @XantoS771
    @XantoS771 2 месяца назад

    As someone who always loved playing videogames and my most "advanced" code was a simple html "game" made for computer class in 11th grade, Chat GPT is a easy way to at least start to comprehend how a game is made. Will it make a real game from scratch? Probably not, but it's a great tool to assist users, be it advanced or newbies to this whole coding process. Great video!

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  2 месяца назад +1

      thank you, yes chat gpt can help you I even use it often for help

  • @kumarisuman4565
    @kumarisuman4565 Год назад +2

    I think chatgpt is more like a help. Now I can learn even more.

  • @Drolletjessquad
    @Drolletjessquad Год назад +1

    nice content!!

  • @PetrosTotskas
    @PetrosTotskas Год назад +3

    damn, I didn't know it can write all the code at once like that, that's impressive 💯

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +1

      Yes, sometimes it will not write the implementation for all the functions and you have to tell him to implement them and he knows what you are referring at and will add the correct code, it really is something.

  • @lolcat69
    @lolcat69 Год назад +2

    Welp, the other day I learned that chatGPT know that my game engine exist, it told me is a "content rich engine", so I want to see if it can make a game with it

  • @Brainjoy01
    @Brainjoy01 Год назад +1

    I’ve tried to download SFML and connect it with codeblocks but I get really lost in pathing and assigning directories and libraries. Do you have an IDE environment that’s more plug and play?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +1

      Unfortunatelly setting up libraries is just annoying. Cmake can be plug and play more or less after you learn it (it can also be annoying). I recomand using a tutorial on youtube to setup sfml. I personally use visual studio but the process is the same.

    • @jackmarquette1351
      @jackmarquette1351 Год назад

      There is a command in cplusplus package manager that makes it very simple

  • @pushqrdx
    @pushqrdx Год назад

    Can you post the rest of the snake code, especially how it handled the tick speed in the main event loop?

  • @RasmusRelander
    @RasmusRelander Год назад

    amazing result of chatGPT

  • @Typhy7
    @Typhy7 Год назад

    What browser and OS were you using?

  • @madeinhevinis905
    @madeinhevinis905 Год назад +7

    why is there no one watching this

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +2

      new channel man hopefully I'll get more views soon, thank you for the nice comment 🙏

  • @imp4ctxd
    @imp4ctxd Год назад

    Hope dies last. So lets hope AI wont advance. Still u must check if code works

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +3

      Yes, the best programmers will not be ever replaced so you have to be in that position

    • @BlacKHellCaT78
      @BlacKHellCaT78 Год назад +1

      @@lowlevelgamedev9330 its not even about best, AI fails fast when the complexity gets anywhere above basic/beginner/junior level. Any medium or large project will always need programmers tailored to its requirements and custom logic. AI cant help with architectural changes/design, best practises for your specific needs etc. Sure it will be able to make a good blog website, e-store, asteroids clone, but AI to make the next Call of Duty, World of Warcraft etc is damn near impossible without human programmers. And more complex projects dont only use the "best" programmers, every projects needs the full chain of junior/intermediate/senior programmers/designers etc to be effective

  • @lolcat69
    @lolcat69 Год назад

    I love how people says that ChatGPT is ultra good and it will replace us, and like, every time I ask him something more specific, it just ruins himself, like, he invents things, say things that make no fucking sence and it some times copy paste my code and show it to me as a solution, and I am like "BRO, I JUST SHOW YOU THAT DUMBASS" and it is like "sorry... *Says the same thing again*", or it just tell fake info

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад

      :)))) Yes it still has more to learn but they seem to get better and better so if they continue to evolve ais will probably be used for some things, I think however that there are many jobs that are not replaceble by ais like writing medical software.

    • @lolcat69
      @lolcat69 Год назад

      @@lowlevelgamedev9330 yeah, ai will never replace human logical thinking, or human mind, cuz... i mean, it is nor real, is atrificial as the name says, and i dont think they never, will recreate something even close to the human brain, but it can still be used for simple things, and it is great on that :)

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад

      @@lolcat69 Well it becomes a philosophical debate but teoretically it can aproach a human mind or not. I don't think we will ever
      know untill it happens (if it happens).

    • @lolcat69
      @lolcat69 Год назад

      @@lowlevelgamedev9330 true