Making a Game With C++ and SDL2

Sdílet
Vložit
  • čas přidán 3. 06. 2024
  • I Made a Speed Running Game With C++ and SDL2
    You challenged me to make my first game using the C++ programming language. At first I tried the Raylib graphics library, but then decided to make it a real challenge and use SDL2/SDL. Can I create an epic speed running game or will I fail miserably?
    Play Pencil Sharpening Championship Here!
    ► goodgis.itch.io/pencil-sharpe...
    Shout out @Smallant for the pencil sharpening inspiration!
    • How I became the faste...
    ✦ Discord - / discord
    ✦ Twitter - / gooodgis
    ✦ Games - firith.itch.io/
    Chapters:
    0:00 Intro
    0:32 C++ Setup
    0:51 Drawing a Window
    1:23 Having to Restart
    1:54 Game Design
    2:32 Switching to SDL2
    3:00 Attempt 2
    3:26 Adding Mechanics
    3:55 UI & Text
    4:49 Audio & Music
    5:04 The Results
    ┈ Similar Videos ┈
    Goodgis - Making a Game in Python with No Experience
    • Making a Game in Pytho...
    Goodgis - I've Secretly Been Working on an MMORPG
    • I've Secretly Been Wor...
    Goodgis - How To Get Started With Game Dev (Beginner's Guide)
    • How To Get Started Wit...
    Polymars - Learning SDL2 in 48 Hours - GMTK Game Jam 2020
    • Learning SDL2 in 48 Ho...
    Polymars - Making a Game With C++ and SDL2
    • Making a Game With C++...
    Barji - Making a C++ Game with No Experience!
    • Making a C++ Game with...
    Making a game without a game engine is pretty fun but challenging. C++ is notorious for being one of the hardest languages to learn, especially for beginners. That's why I decided to use a framework like Raylib and SDL2 to make it a little bit easier. Originally I going to try to make it in less than 48 hours, but I didn't realize how difficult it would end up being. If you're asking yourself, "How to Make a Game in C++" or "Should I use C++ to Make Games?" then hopefully my experience might help. Either way, this C++ challenge in a way was much harder than SmallAnt's pencil sharp speedrunning world record... Okay, well maybe not.

Komentáře • 1K

  • @Goodgis
    @Goodgis  Před rokem +160

    Subscribe for more EPIC pencil content! ✏

    • @LeoSquared
      @LeoSquared Před rokem +2

      Pencils are epic

    • @GROMSH_
      @GROMSH_ Před rokem +1

      i bet you cant program in italian 🤌🤌🤌🤌

    • @WohaoG
      @WohaoG Před rokem

      Speed Running or Speedrunning
      Is it about going as fast as possible or 🚶‍♂🏃‍♂🚶‍♂🏃‍♂🚶‍♂🏃‍♂🚶‍♂🏃‍♂🚶‍♂?

    • @MrDiverXHD
      @MrDiverXHD Před rokem

      How about Raylib?

    • @PengiiiiGameDev
      @PengiiiiGameDev Před rokem

      You need to learn bf next. It is the greatest language in all of programming

  • @glerg6051
    @glerg6051 Před rokem +956

    Fun fact! Pygame is actually a python wrapper for sdl2, so technically this isn't the first time you've used sdl2.

    • @darkfllame
      @darkfllame Před rokem +15

      pygame uses a python sdl2 wrapper but it just built on top of it

    • @amiteshwarsingh6099
      @amiteshwarsingh6099 Před rokem +6

      It is not called wrapper it is called wrangler

    • @cacto1680
      @cacto1680 Před rokem +6

      ​@@amiteshwarsingh6099 what's the diffrence

    • @Vichion
      @Vichion Před rokem +56

      @@cacto1680 about 3 letters

    • @WindowsDrawer
      @WindowsDrawer Před rokem +10

      ​@@cacto1680 wrapper - wrangler = bkgch

  • @hectormejia499
    @hectormejia499 Před rokem +149

    Writing C in C++ is perfectly valid, it's actually preferred by a ton of people. Most C code is valid C++, the latter just has extra powerful features built on top

    • @swirl6996
      @swirl6996 Před 6 měsíci +10

      "Every C++ programmer knows C"

    • @TheSpiderGod2099
      @TheSpiderGod2099 Před 4 měsíci

      ​@@swirl6996bro what if they didn't learn about printf() in c++? They mostly use cout. So... Just saying.

    • @gaffclant
      @gaffclant Před 3 měsíci +11

      @@swirl6996 i think its more "every C programmer knows C++" since while all C code is valid in C++, the other way around is false. In fact, if you only know C++, you may have trouble with a simple hello world in C because C++ does this evil thing called "operator overloads" where now the code we write isn't even doing what we think it is doing.

    • @iambored1528
      @iambored1528 Před 18 dny

      @@gaffclantC programmers don't know all the concepts of C++, but C++ programmers know all the concepts of C

    • @SheqqySully
      @SheqqySully Před 14 dny

      @@gaffclant What you said here is to use C++, you need to understand the fundamentals of C, but to use C, you don't need to fully understand C++, but with glean certain aspects of it. In this case, the individuals who use C++ understand all aspects of C, but not vice versa. Similar to the rectangle and square discussion. Not all rectangles are squares, but all squares are rectangles.

  • @IXxJordan
    @IXxJordan Před 10 měsíci +20

    Seeing someone else have great pain to create a window in SDL brings me great enjoyment

  • @sauliusvincevicius8688
    @sauliusvincevicius8688 Před rokem +102

    Goodgis: uses SDL despite it being C instead of C++
    Raylib: that has c++ wrapper O_o

    • @_Enderpuff
      @_Enderpuff Před rokem +12

      you don't even need a c++ wrapper for c libraries most of the time

    • @hjrgf
      @hjrgf Před rokem +2

      ​​@@_Enderpuff true c libraries are compatible with c++

    • @glitchy_weasel
      @glitchy_weasel Před rokem +2

      There a really nice one called SFML, lots of advaced but easy to use graphics+audio utilities.

    • @hjrgf
      @hjrgf Před rokem +3

      @@glitchy_weasel I personally either use imgui + sfml or imgui + opengl

    • @v01d_r34l1ty
      @v01d_r34l1ty Před 10 měsíci +8

      i know this is 4 months late as a reply, but i just find it funny the dude thought he was a failure for 'coding in C instead of C++' like 99% of C code is perfectly valid C++ code lol

  • @gabrieldelrosario8357
    @gabrieldelrosario8357 Před rokem +26

    I'm envious but also inspired. As a struggling computer science student, I defo would like to have your confidence in undertaking really difficult projects like this. Often times I doubt myself too much before getting started

  • @razrastudios
    @razrastudios Před rokem +269

    I think it would be interesting to learn a language like BASIC and try to make a game with that

    • @Goodgis
      @Goodgis  Před rokem +95

      Oh a classic.

    • @WillMakesGames
      @WillMakesGames Před rokem +57

      Or maybe Assembly like Roller Coaster Tycoon

    • @jarPlays11
      @jarPlays11 Před rokem +3

      That would be easy

    • @treudden
      @treudden Před rokem +6

      @@WillMakesGames just gonna take a few years to learn

    • @ego-lay_atman-bay
      @ego-lay_atman-bay Před rokem +8

      Do ti-basic, on a ti-84 + ce python calculator.

  • @NotPalliot
    @NotPalliot Před rokem +63

    I love Devlogs! This looks great! good job goodgis!

    • @Goodgis
      @Goodgis  Před rokem +8

      Thank you!! 😊

    • @simasharma3040
      @simasharma3040 Před rokem +1

      ​@@Goodgis you are still using c language to code this game

  • @btarg1
    @btarg1 Před rokem +96

    Your artstyle reminds me a lot of WarioWare and it's just so pretty to look at. Game dev is so much easier when you can do art - I can't draw so it's way harder to make games, this is inspiring

    • @plebisMaximus
      @plebisMaximus Před rokem +13

      The original textures for Minecraft were also kinda poopy. You don't need to be a sublime artist if you can make good, fun gameplay. Besides, you can always teach yourself to draw by forcing yourself to do a lot of textures. You got this, my guy.

    • @trys10studios65
      @trys10studios65 Před 7 měsíci +3

      As an artist myself, you do not need to be an artist to make a great game. It 'draws' people in, but it does not keep them hooked, great gameplay does.

    • @devforfun5618
      @devforfun5618 Před 4 měsíci

      as a not artist myself, the problem isn't others, if i dont like how my game looks i dont want to finish it@@trys10studios65

  • @Skeffles
    @Skeffles Před rokem +13

    Fantastic to see you trying C++. It's been years since I've done C++. Videos like this make me want to try again but then I look at some C++ and nope out real quick.

    • @Gupatik
      @Gupatik Před 3 měsíci

      ohh that headach again...

  • @zachgeyer8090
    @zachgeyer8090 Před rokem +10

    6502 assembly nes game! It’s super fun to learn!

    • @Goodgis
      @Goodgis  Před rokem +5

      RIP

    • @zachgeyer8090
      @zachgeyer8090 Před rokem +3

      I’m serious it’s been such a fun and interesting challenge for me and being able to play an nes game you made is the most satisfying thing!

    • @OSharraps
      @OSharraps Před rokem +1

      There is an alternative assembly language called wiz which is a mix between asm and C.
      It makes programming for the NES way easier.

    • @costelinha1867
      @costelinha1867 Před rokem

      @@zachgeyer8090 Yeah, but isn't assembly like... super hard to learn? and also there probably won't be as many material covering development for retro consoles as there is for stuff like SDL2.

  • @HeuzyGameDev
    @HeuzyGameDev Před rokem +2

    I’ve started watching your channel recently and you’ve inspired me to try out making some small games. So thank you for making the great content!

  • @David-ng9qh
    @David-ng9qh Před rokem +133

    Make a simple game with Rust + Bevy next, Bevy uses an ECS (Entity Component System) and it's a really different and fun experience!

  • @realfictiongo8942
    @realfictiongo8942 Před rokem +29

    What language next? Pico-8 with Lua, it will be a quite new experience for you to make a retro game in this simple language

    • @Goodgis
      @Goodgis  Před rokem +9

      Sounds like fun. I've actually made a terrible game in Pico-8 before.

    • @costelinha1867
      @costelinha1867 Před rokem +1

      @@Goodgis If you want an extra challenge, you could limit yourself to just pico-8, maybe even use the browser version, so you cannot use your own text editor and have to rely on pico-8's built-in tools.

    • @Your_Average_Rabbit
      @Your_Average_Rabbit Před 11 měsíci

      @@costelinha1867 pinnacle of torture:

  • @gungun974
    @gungun974 Před rokem +48

    Next could be make a game with Rust.
    Rust is not really the hardest language of programming but it’s one of those language when after use it for a while.
    Everything around it look less fun and Rust just being amazing xD

    • @LocalTrashyt
      @LocalTrashyt Před rokem

      Plza Goodgis do it

    • @Goodgis
      @Goodgis  Před rokem +11

      That could be awesome!

    • @andres3665
      @andres3665 Před rokem +6

      @@Goodgis Try Bevy!

    • @Holsp
      @Holsp Před rokem +7

      @@Goodgis He is lying. Learning rust is a completely different experience to other languages and while it can be satisfying to learn, it will be a drag to get through

    • @enochsadventures
      @enochsadventures Před rokem +2

      Rust is an awful language. The promotion of it is so bizarre and basically has no explanation besides people refusing to use C++, which is the best language.

  • @noodle-eater
    @noodle-eater Před 8 měsíci +1

    Thanks a lot, I watched a couple of your videos the scratch game also, it's pretty inspiring. Honestly I am kinda stuck to make my own game, my idea mostly end up bigger, but thanks to your video and your games I can use it as reference to make my game smaller dan more achievable

  • @hannaalejandraamadorsanche6085

    I love your videos, they gave me back the desire to program, it's not that I didn't program before, I just did it without desire, keep it up

  • @bonehelm
    @bonehelm Před rokem +4

    Damn, your graphic design is on POINT!

  • @will.bailey
    @will.bailey Před rokem +50

    What language should I learn next? - Lua is a really nice language. Love2d and pico8 are great engines that use it! :)

    • @puddyy7010
      @puddyy7010 Před rokem +1

      Have you tried Solar2D and MicroStudio 🤔? They both use lua

    • @will.bailey
      @will.bailey Před rokem +1

      @@puddyy7010 I haven't but you've piqued my interest so I'm going to have a look! :) 👍

    • @puddyy7010
      @puddyy7010 Před rokem +1

      @@will.bailey cool! Lemme know your reviews upon it 🤓do you know any other good C++ sdk, framework, API or libraries by any chance?

    • @techtime3125
      @techtime3125 Před rokem +2

      And Boblox is the greatest

    • @TBT_ZHV
      @TBT_ZHV Před rokem +1

      Well its extremely similar to python tho

  • @FRI5B33
    @FRI5B33 Před 9 měsíci +8

    This would be so cool as a rhythm game, for instance when you would miss a key the point if the pencil would break. I would play that in a heartbeat.

  • @dwadthechad
    @dwadthechad Před rokem +1

    These are honestly my favourite kind of videos

  • @feivaco5209
    @feivaco5209 Před rokem +6

    there is a guy that was making a tetris with raylib, the trick is that he was teaching about how to make raylib useful to the c++ language and how you can it apply it to other c libraries

  • @carcedopro7285
    @carcedopro7285 Před rokem +1

    I really like your art style, its so smooth and colorful, maybe you could make a video and explain how you do it or teach a few techniques idk

  • @bonsaipropaganda
    @bonsaipropaganda Před rokem +1

    you are my favorite gamedev youtuber. i have watched all your videos and wish you had more. your videos make me laugh and are entertaining and educational

  • @Mr_Pringle593
    @Mr_Pringle593 Před rokem +3

    i just wanted to say, i just tried out your demo for DewdropDynasty, its really good, i do think that the keyboard controls arent the best, but its just the early demo, i understand, i really think this game could go somewhere, i also would like to say i think i may be switching my game to a more metrovania game than an adventure game, thanks for the inspiration!

  • @lonelyfloat2582
    @lonelyfloat2582 Před rokem +4

    You were so close to the greatness of C and raylib, but so far away.

  • @kalelsoffspring
    @kalelsoffspring Před rokem

    I normally binge a lot of programming/game dev/etc. on here, but I was still curious why your video was showing up for me. Then I saw your joke about Factorio and realized my YT history for the past week is 90% Factorio videos lol Thanks algorithm, you worked for once, gonna sub :)

  • @ZTimeGamingYT
    @ZTimeGamingYT Před rokem +1

    SmallAnt would like this, seeing his popular videos on the subject manner. Amazing video, by the way!

  • @jetseverschuren
    @jetseverschuren Před rokem +9

    C and C++ are indeed quite different, but all C code is also valid C++ code. C++ just has classes and some more garbage attached. You should be able to just tell the compiler to do C++ (or use g++ instead of gcc), and boom, you've now made a C++ program'

    • @giantnoah
      @giantnoah Před rokem +3

      Technically not all C code is valid C++ code, theres a million blog posts on the differences but they're so minute that they really don't matter 99% of the time if you just want to write C to use a C++ library.

    • @RockyMulletGamedev
      @RockyMulletGamedev Před rokem +1

      Yeah sometimes you make a typo or something and it compiles and you're like "Why ??? this is dumb, this should not compile !" and then you realize it's to be C compatible...

    • @benhetland576
      @benhetland576 Před rokem

      Consider: int* p= malloc(sizeof int);

    • @jetseverschuren
      @jetseverschuren Před rokem

      ​@@benhetland576 Fair enough. Though you can use `-fpermissive` in g++ to get it to compile anyways ;)

    • @berni8k
      @berni8k Před rokem

      Yep you can compile Raylib in C++ just fine. Been using it like that all the time.

  • @carmygames
    @carmygames Před rokem +163

    Speed run game made with the fastest programming language. Let's goooo...

    • @Goodgis
      @Goodgis  Před rokem +28

      Gotta go fast!

    • @Kyleology
      @Kyleology Před rokem +22

      Unless we're ignoring assembly.

    • @Another45555
      @Another45555 Před rokem +23

      @@Kyleology and C. and C--.

    • @patatopeeler3005
      @patatopeeler3005 Před rokem +14

      @@Kyleology not to be the "uhmmm actually" guy, but assembly is much much slower if you are a beginner since you don't know how to write it optimally, just using -o in the compiler with a c/cpp app would make it faster

    • @Staninna
      @Staninna Před rokem +11

      Rust is faster then cpp

  • @gameclipz9890
    @gameclipz9890 Před rokem

    bro thats sick keep it up!

  • @Wyrmlayer
    @Wyrmlayer Před 3 měsíci

    Nice video goodgis but tbh I think its funny that a video about making a game in c++ and sdl2 from polymars from 2 YEARS ago was in my feed :)

  • @DevDoge_
    @DevDoge_ Před rokem +3

    Lua is a good language since it has some good frameworks (or even engines like defold i think) to make games

  • @xGOKOPx
    @xGOKOPx Před rokem +41

    Obviously you can write proper C++ while working with a C library (and that's what you've done because SDL is a C library, which kinda defeats your decision to ditch Raylib because it's C) but if you want a 2D library that by itself gives you nice C++esque interface you can try SFML

  • @notrickzdumbo
    @notrickzdumbo Před rokem

    I just finished rewatching all your videos for the third time yesterday haha

    • @Goodgis
      @Goodgis  Před rokem

      Woah! That's some dedication. Thanks so much! :D

  • @dungeonsfightercoding2020

    Finally! A new video!! I only had to wait like a billion centuries!

  • @VictorRodriguez-zp2do
    @VictorRodriguez-zp2do Před rokem +4

    So many libraries are written in C (including SDL), even libraries you would use in languages like python use C libraries under the hood. That said though if it works what stops you from using it?

  • @modley_the_m_guy
    @modley_the_m_guy Před rokem +9

    Nice game to sharpen you knowledge! ✏

  • @robertjag167
    @robertjag167 Před rokem

    Love your artstyle! Instant Wii vibes. Maybe a tutorial on art sometime?

  • @reeceytaylor
    @reeceytaylor Před rokem +2

    Your UI/concept designs are so nice. Do you have any recommended places for me to learn that kind of stuff?

  • @j.alexanderdouglas6641
    @j.alexanderdouglas6641 Před rokem +9

    I greatly respect you, my friend! You're always showing so much courage to branch out and broaden your horizons. Do I correctly ascertain-from your tone-that you're not switching away from Godot just yet, based on this experience? Merely splashing in the shallow end of some other language pools, for the sake of variety and to keep your skills sharp?

    • @Goodgis
      @Goodgis  Před rokem +5

      You're correct. For making actual commercial video games Godot is the way to go. I like using these frameworks for a learning experience. :D They also force me to make my games small for these types of videos.

    • @enochsadventures
      @enochsadventures Před rokem +1

      Godot is natively written in C++, so even with Godot it's pretty useful. Especially since bindings are fucking stupid.

  • @LewiLewi52
    @LewiLewi52 Před rokem +6

    Raylib and SDL2 are both C libraries. If you really wanted to go full C++ u should have went with SFML. Not saying SDL2 isn't valid, just that your reasoning to quit Raylib applies to SDL2 as well.

    • @Goodgis
      @Goodgis  Před rokem +2

      Welp, too late now. Though I will say there was waaayyyy more information on using SDL with C++.

    • @LewiLewi52
      @LewiLewi52 Před rokem +2

      @@Goodgis That is true, Raylib is really young compared to SDL2. Just like SDL2 and any C api for that matter Raylib works with C++ without issue. If u ever decide to revisit this challenge, i hope u give Raylib another shot. Nice video btw.

    • @berni8k
      @berni8k Před rokem

      @@Goodgis C code compiles in a C++ compiler just fine as an supported feature. This means you can use C libraries in a C++ program. So technically you are using C++, just that the library is not using any new features that the ++ part brings.
      For graphics a lot of libraries are actually in C deep down, so if a library is C++ it is likely just a C++ wrapper around C code. Not that it is a bad thing, C can do everything, the complex code just looks nicer to read with the extra C++ features.

  • @Mikenaut
    @Mikenaut Před rokem

    Beautiful video, I love these "challenges" and also as you create graphics, I wanted to ask you if the font you use has a copyright?

  • @Beanie_peep
    @Beanie_peep Před rokem

    WOW. YOU are so good at this

  • @vulnoryx
    @vulnoryx Před rokem +3

    Now do a game in Assembly.

  • @Maewfof
    @Maewfof Před rokem +4

    Can you make something in pico-8? It’s a pretty good game engine.

  • @TheRealPalliot
    @TheRealPalliot Před rokem +2

    Speedrunning a devlog! :0

  • @Galomortalbr
    @Galomortalbr Před rokem +2

    this is a interesting video, C++ was the first language i ever learned and it is interesting to see nowdays it is considered to be one of the hard ones while most people first learn Python or Javascript, for what language to learn next i recommend to learn assembly 6502, it is one of the most accessible types of assembly out there, at least if compared with modern x86-64.

  • @killwood
    @killwood Před rokem +3

    For your next code challenge you should make a
    mmo in assembly!

  • @TheCoolIllusion
    @TheCoolIllusion Před 10 měsíci +7

    Learn malbolge and I’ll pay you 15 dollars

  • @WM48_
    @WM48_ Před rokem +2

    Since you come from an artist background, you should try the Piet esolang (esoteric language). It is not a language that can make a game, but it can be used to make some kind of art work that can be turned into actual code. And because of the way it's built, there is more than one way to write a "hello world" program.

  • @float_3.14
    @float_3.14 Před 11 měsíci +1

    "and the best part That it only took 8 hours to do yeah! 8 hours" is the most(est) c++-ing thing I've ever heard in my life

  • @gauthamdga1603
    @gauthamdga1603 Před 11 měsíci +2

    similar thing had happened to me . when i am in 6th grade, i studied javascript believing its java. i didn't had any mentor though.
    it was my entry to world of programing

  • @realmarsastro
    @realmarsastro Před 3 měsíci

    When I heard you say this was a really hard challenge, I at first thought that was a little weird for someone who's making coding videos. Then you said you come from an artist background, not a programming background, and now I'm just left very impressed. Writing a game in C++ using SDL2 without a programming background is really commendable, well done!

  • @kayocchiii
    @kayocchiii Před 6 měsíci

    i really love this game lol the style is very reminiscent of those little wii games

  • @sekki2554
    @sekki2554 Před rokem

    omg preordering rn

  • @francis_the_cat9549
    @francis_the_cat9549 Před rokem

    Nice video, I think rust with bevy would be really interestring too

  • @mannyw_
    @mannyw_ Před rokem

    What’s the font for the game’s logo? Love the vibe

  • @boogrowl2231
    @boogrowl2231 Před rokem

    What is a good free software for making tile sets?

  • @cydoentis
    @cydoentis Před rokem

    I need to know what theme you are using in your text editor.

  • @quantum_hg3299
    @quantum_hg3299 Před rokem +2

    I can understand your pain working with SDL, lol

  • @MathGoOli
    @MathGoOli Před rokem +1

    Your game looks good! You cold say your skills are sharper. 😂

  • @egegl
    @egegl Před rokem

    great vid :D

  • @maxrdev703
    @maxrdev703 Před rokem

    This is super cool, I should really try engineless as some point. But I challenge you to use my language, C#!

  • @Funifire
    @Funifire Před rokem

    This looks very good mr goodguy

  • @sonorousgaming7202
    @sonorousgaming7202 Před rokem

    i would like to ask you something. Do you use a mouse or touch pad or iPad for digital art? Just curious...

  • @nickst2797
    @nickst2797 Před rokem

    What keyboard do you use at 2:23?

  • @flamespeng48
    @flamespeng48 Před rokem +1

    When is dewdrop dynasty coming .your videos are so good❤❤ keep finishing it

  • @comeplague
    @comeplague Před 10 měsíci

    which font did you base the logo on?

  • @tiangob
    @tiangob Před rokem

    Thats crazy

  • @navirobayo
    @navirobayo Před 9 měsíci

    Amazing

  • @Charmunk3d
    @Charmunk3d Před rokem

    Great Vid!

  • @AsasinoManik
    @AsasinoManik Před rokem +2

    I like how he literally made this game from complete scratch using a C++ based framework instead of using any game engine.

  • @pessoaaleatoria6802
    @pessoaaleatoria6802 Před rokem

    This is sharp indeed

  • @KungFuPanda1223
    @KungFuPanda1223 Před 10 měsíci

    what font is the title in? it pooks great

  • @kidredglow2060
    @kidredglow2060 Před rokem

    ... how did you get it to run
    compilers dont work?
    idk i gave up instantly

  • @omarquinho
    @omarquinho Před rokem +1

    New vídeo made by my favorite CZcamsr ever

  • @eddiechung675
    @eddiechung675 Před 10 měsíci

    SDL is a really great and flexible tool, my go to for c++ graphical applications and much more stable than dx9 or 11

  • @user-xk7de1jw8g
    @user-xk7de1jw8g Před 8 měsíci

    Bro, I have a question for you. Look, I did implement the minimax algorithm in Python and create an AI Tic Tac Toe player that is invincible. However, in C++ it's a daunting task for me. Can you help me implement the minimax algorithm in C++?

  • @TechWampus
    @TechWampus Před rokem

    How'd you do it without stack over flow.... 🤔

  • @didodido883
    @didodido883 Před 6 měsíci

    can you convert this to wasm to play in browsers?

  • @tiaretik_mtg3142
    @tiaretik_mtg3142 Před rokem +1

    Next PL should totally be assembly!

  • @wellhellotherekyle
    @wellhellotherekyle Před rokem +2

    Man I don’t know how you do it! Maybe I just lack determination but coding in ANY language is so hard for me, haha. Maybe I just lack determination.

    • @Goodgis
      @Goodgis  Před rokem +2

      It just takes practice. :D

  • @mwn02
    @mwn02 Před rokem

    The spaghetti actually looked good!

  • @RealValkor
    @RealValkor Před rokem

    I think you should give C# a go, it's pretty easy to learn and fun!

  • @marang_quntana7350
    @marang_quntana7350 Před rokem

    Good job cool game.

  • @davidvasquezgarcia9521
    @davidvasquezgarcia9521 Před rokem +2

    Now you should try making a game in Rust as another challenge

  • @nulnul7050
    @nulnul7050 Před rokem +1

    amazing video, the art looks amazing!
    try to make a game in the arduino IDE for an ESP32 Dev board like the lilygo TTGO S3.

  • @Hermanator1124
    @Hermanator1124 Před rokem

    How did I miss this video! Jeez man. Haven't seen your vids on my feed in a while somehow. weird

  • @the-floofy-mew
    @the-floofy-mew Před rokem

    i got options mostly only 2 i can think of is the mentioned basic with the bonus of it has to be written either in ms-dos or basic-256. other option is pascal though no idea of game or image.

  • @user-zh5td2jd3w
    @user-zh5td2jd3w Před 5 měsíci +1

    I was thinking of making a video game. Have you ever watched Hills of Glory 3D? To make an engine and the controller to make games. Can you help me? I don't know how to programming.

  • @hudsonator7259
    @hudsonator7259 Před rokem

    I thought of smant's pencil Speedrun as soon as I saw the title

  • @icxd8665
    @icxd8665 Před rokem

    it would be fun to see you try odin

  • @oimohsakoofficial
    @oimohsakoofficial Před rokem

    Goodgis I have request to you why do you add skills and weapon in wizbirds 2

  • @garyadamos
    @garyadamos Před rokem

    I love ur art it reminds me of rhythm heaven

  • @alebud1403
    @alebud1403 Před měsícem

    2:29 this software how is called?

  • @soggiebunz120
    @soggiebunz120 Před rokem

    I'd like to try to compile this on Mac. Where can I find the source code?

  • @AnonDev3
    @AnonDev3 Před rokem

    pointers, references and not garbage collector unless you write one yourself is my defintion of hell.

  • @HooptyDaDoopty
    @HooptyDaDoopty Před rokem

    I think you should try to remake snake using assembly

  • @marcelobaldado514
    @marcelobaldado514 Před rokem

    yow thanks ! Ive got a game idea, its typing game and the pencils have words in it