Programming Conway's Game of Life | Coding Challenge

Поділитися
Вставка
  • Опубліковано 19 чер 2024
  • In this episode of Coding Challenge, I program a cellular automaton using the rules from Conway's Game of Life.
    Conway's Game of Life is a cellular automata simulation that has only a handful of rules. Even though there are few rules, and these rules are simple,
    once programmed it can create beautiful life-like features. Join me in this episode and if you like it make sure to subscribe.
    LINKS
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    Support the channel: ko-fi.com/codenoodles
    Itch.io: codenoodles.itch.io/
    GitHub: github.com/OfficialCodeNoodles
    █▀ █ █ █▄▄ █▀ █▀▀ █▀█ █ █▄▄ █▀▀
    ▄█ █▄█ █▄█ ▄█ █▄▄ █▀▄ █ █▄█ ██▄
  • Наука та технологія

КОМЕНТАРІ • 70

  • @guardiangames6925
    @guardiangames6925 Рік тому +81

    "enjoy this higher resolution footage of the simulation"
    youtube compression: No i dont think they will

  • @Lean_Dankr
    @Lean_Dankr Рік тому +34

    A giant oscillator would be a dope PC background

  • @maglev_
    @maglev_ Рік тому +7

    this is really cool im glad i got your inverse snake video on my feed

  • @Josh-iu7jr
    @Josh-iu7jr 2 роки тому +38

    This is some really cool stuff, thanks for sharing

  • @bobbigford6290
    @bobbigford6290 Рік тому +79

    You know they kinda look like asteroids wouldn’t it be cool you make like a “mining” game using Conway game of life rules to send spaceships or patterns towards like a rock and if it makes contact it gives you ore and the more pieces is connected to the spaceship or pattern the better the ore sorry been on a clicker addiction

    • @ObscureSwan
      @ObscureSwan Рік тому +6

      Cookie Clicker's Shipment minigame

    • @khytron06
      @khytron06 Рік тому +2

      People would abuse those gliders

  • @softwarelivre2389
    @softwarelivre2389 Рік тому +6

    My man went full C++, nice

  • @lovinglife8966
    @lovinglife8966 Рік тому +3

    That makes it look so much better omg I can actually understand how they move

  • @luitmeinen1902
    @luitmeinen1902 Рік тому +2

    Can't believe I'm here before 10k subs, this channel is gonna explode really soon if you keep making content of this level!

  • @NachoMega
    @NachoMega 2 роки тому +10

    Very cool and underrated channel man

    • @CodeNoodles
      @CodeNoodles  2 роки тому +4

      Thanks!

    • @NachoMega
      @NachoMega Рік тому +5

      @@CodeNoodles Np i love to support starting channels that i believe deserve to have more :D

    • @NachoMega
      @NachoMega Рік тому

      @@CodeNoodles well nice job at hitting 5k in 2 weeks :D

  • @xandernelson1816
    @xandernelson1816 Рік тому +5

    the game of life would be an awesome animated pc backgound

  • @tophatgeo
    @tophatgeo Рік тому +1

    This is such a cool simulation, the fading grid had this feelig if islands appearing and moving about

  • @maxtech66999
    @maxtech66999 Рік тому +7

    I love it so much !!!! Continue the good work !!!! Btw can you make this a screen saver ??? That would be so cool !!

  • @xav8930
    @xav8930 Рік тому +4

    Your videos are amazing!

  • @pyrosays
    @pyrosays Рік тому +1

    Was excited to go back through your video catalog as i just found you. I seem to have hit a dead end though.

  • @woodgoldfish9124
    @woodgoldfish9124 Рік тому +8

    This could be a cool way to make foliage. When it Fades to darkness do that but with greens and just pause at a random time to get a leaf texture

  • @cabbageder
    @cabbageder Рік тому +2

    Woah, this is so interesting!

  • @ptr_does_music7042
    @ptr_does_music7042 Рік тому +6

    Kind of an unnecessary flex (lol), but that was actually a first year assignment in my computer science school. Sadly I didn't get to work on it, since I applied for that class the following year, but the professor went through the process of explaining and making the code for us, it was super interesting! It's also great to see your take on it

  • @loganjamesonhatch5050
    @loganjamesonhatch5050 Рік тому

    Very cool. Though what happened to the shoot that bird video?

  • @chengyaolin7034
    @chengyaolin7034 Рік тому +1

    Cool

  • @aykarain
    @aykarain Рік тому +1

    wait where did the previous episodes go and what were they

  • @StochasticJeff
    @StochasticJeff Рік тому

    Kind of glossed over the part between the Grid abstraction and how you got it actually onto the screen. Since I just stumbled onto this, hoping maybe you address that in another vid?

  • @tobiaskoning115
    @tobiaskoning115 6 місяців тому

    I am very new to C++ and I was wondering what u used to print the cells the way you did?

  • @niccolabryer
    @niccolabryer Рік тому

    I remember seeing something where someone made the game of life within the game of life

  • @LilCalebW
    @LilCalebW Рік тому +1

    Niiice

  • @trin1721
    @trin1721 10 місяців тому

    This is awesome. I'd love to play with the code. Is there a link?

  • @Name-pb8mw
    @Name-pb8mw Рік тому +2

    By the way, there is a possible pattern in which the game of life can be played within the game of life.

  • @potacio420
    @potacio420 Рік тому

    cool

  • @ShauntSerelu
    @ShauntSerelu Рік тому +1

    At around 6:00 it looks like a camo pattern. I REALLY wanna code this myself!

  • @reflectivish385
    @reflectivish385 11 місяців тому

    How did you get an actual window? Did you use SDL2?

  • @justblue425
    @justblue425 Рік тому +7

    is there a way to download the high resoloution grid? i think it would work quite well as a screen saver

  • @supergamerconnor4355
    @supergamerconnor4355 Рік тому +1

    WHERE ARE THE OTHER 3
    I NEED MOOOREEEEEE

  • @pizzaguy_
    @pizzaguy_ Рік тому +5

    Awesome! Did you learn how to code on the internet?

  • @hervelabrie-durand4574
    @hervelabrie-durand4574 Рік тому

    If anyone has seen the horror movie Vivarium, 6:00 looks exactly like the pattern the child used to watch on the TV

  • @GameDevGeeks
    @GameDevGeeks Рік тому +1

    there was an app that allowed you to run shader code as live wallpaper and one of the sample codes was this. if it was a bit more performant i would keep it, this really is interesting to look at

  • @ErikSeastead
    @ErikSeastead Рік тому

    When I was in college my math professor Dr.Ordower was working on a competitive 1v1 implementation where a player could make macros to control a 1 by n "pad" of tiles over time that they could use to try and fill the other players pad with enemy life.

  • @zerazerazerazerazerazerazera

    There's videos before this?

  • @jaygosselin1282
    @jaygosselin1282 Рік тому +2

    Very cool, I feel like a variable of age should be added, maybe a specific age or an increasing chance of death over time

  • @ianthehedgehog9327
    @ianthehedgehog9327 Рік тому

    I heard that someone made a competition game out of this!
    I think it's called "The Game of Life and Death" over on the app store?

  • @TheAdhdGaming
    @TheAdhdGaming 9 місяців тому

    a way to trace back in time how to get a specific orientation of pixels would be cool, lile wtf makes the word "meow"

  • @Redstone7380
    @Redstone7380 Рік тому

    Episode 4? Where’s the rest?

  • @myrus5722
    @myrus5722 Рік тому +5

    Where is 1-3?

    • @CodeNoodles
      @CodeNoodles  Рік тому +11

      I am committed to making better videos and my older videos don't fit my criteria for being decent content. I want to make as entertaining and fun content as possible.

    • @user-ch2hn3lz7b
      @user-ch2hn3lz7b Рік тому +4

      @@CodeNoodles Maybe you should unlist them and put them in a playlist

    • @asha_dasha
      @asha_dasha Рік тому +1

      @@CodeNoodles seconding the unlisted in a playlist idea. Would love to see your older stuff.

  • @kids9699
    @kids9699 Рік тому

    Where are episodes 1-3?

  • @DrCryptex
    @DrCryptex 2 роки тому +4

    You should make some programming tutorials

  • @bluwire2275
    @bluwire2275 Рік тому +2

    :)

  • @Ziedmac
    @Ziedmac Рік тому +1

    Have you heard of the mobile game "sand : box"? Thats actually the game i found out conways game of life was a thing because it has conways game of life in it lol

    • @CodeNoodles
      @CodeNoodles  Рік тому +2

      Yes actually! I love Sand Box and have always wanted to make my own version of it.

  • @lightsinthedarkness
    @lightsinthedarkness Рік тому

    What happened to the new vid?

  • @IsaacCode95
    @IsaacCode95 Рік тому

    5:45 so many crosshairs lol

  • @FlamingPhenioxYT
    @FlamingPhenioxYT Рік тому

    ...

  • @megameg4
    @megameg4 Рік тому

    at 4:49 there is a little duck

    • @megameg4
      @megameg4 Рік тому

      and a kid in bottom right