AI Learns How To Play The Worlds Hardest Game

Поделиться
HTML-код
  • Опубликовано: 20 ноя 2024

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

  • @TylerMommsen
    @TylerMommsen  Месяц назад +63

    👉 Try Brilliant for free for a full 30 days at brilliant.org/TylerMommsen and you’ll also get 20% off an annual premium subscription.

    • @jimsvolt
      @jimsvolt Месяц назад

      Big fan! Could you create a tutorial with theories on coding custom neural networks using different genetic algorithms? Maybe take a problem-based approach, walking us through how to solve it step-by-step,because they are no where to be found🥲

    • @titok0018
      @titok0018 25 дней назад

      I dont get it why you didnt just download the game? adobe has a debug player which can play the game, if you have swz file

    • @GMAN-l9p
      @GMAN-l9p 23 дня назад +1

      Copied code bullet he did it 6 years ago

  • @kylemorris5338
    @kylemorris5338 Месяц назад +1493

    Does the AI have any sensors with which it can see the world, or is it just learning the ideal set of movements?

    • @Woggy11
      @Woggy11 Месяц назад +132

      That would be helpful if the AI doesn't see.

    • @Ranamo_
      @Ranamo_ Месяц назад +483

      He uses ai that just brute forces until get the ideal result. It doesn't have sensors

    • @blazer9547
      @blazer9547 Месяц назад +25

      Neural network rewiring

    • @palmossi
      @palmossi Месяц назад +23

      It doesn’t need sensors because thats not how the ai works

    • @Ranamo_
      @Ranamo_ Месяц назад +61

      @@palmossi this AI doesn't need sensors but some other have them

  • @DragonBombGaming
    @DragonBombGaming 26 дней назад +139

    WHG nerd here, one thing I did notice was that the hitbox you used covered the entire perimeter of the square. In the original game, there are only 4 pixels that contain hitboxes, the middle of each side. If you go to the actual game you can see the blue circles can clip into your corners before you die. Js thought this was a fun fact for part 2!

  • @Julian-o6h
    @Julian-o6h Месяц назад +124

    The red square was fr flexing on us 7:51

  • @levithegamer8296
    @levithegamer8296 Месяц назад +370

    This seems extremely close to @CodeBullet 's video on making a ai on the hardest game.

    • @RadioactiveBluePlatypus
      @RadioactiveBluePlatypus Месяц назад +57

      This is probably parallel thinking. I doubt it was intentional.

    • @Lightyboii
      @Lightyboii Месяц назад +46

      Codebullets Video was likely a big Inspiration, but this one is still different since it's made in unity.

    • @RJTheJunior
      @RJTheJunior 29 дней назад +8

      @@RadioactiveBluePlatypus take a look at the thumbnails...

    • @Boltclick
      @Boltclick 27 дней назад

      @@RJTheJunior The thumbnails are completely different. And even if they were similar, this thumbnail is a style this channel has used before, so it wouldn't be a good argument.

    • @StopBuggingMeGoogleIHateYou
      @StopBuggingMeGoogleIHateYou 25 дней назад

      Code Bullet predates this by six years, the visualizations are nearly identical, and even the style of "humor" is nearly the same. Extremely derivative content.

  • @zkesong
    @zkesong 28 дней назад +61

    1:35 I think you could use that to make a really cool game

    • @nightowl6055
      @nightowl6055 26 дней назад +5

      Reminds me of Baba is You when you make the sentence "wall is you"

    • @chadmcbrok701
      @chadmcbrok701 17 дней назад

      Real but it’d be super hard to make one with it

  • @springjackback_theyt
    @springjackback_theyt 26 дней назад +23

    6:02 if u wanna skip the sponsor segment

  • @justL1nc
    @justL1nc Месяц назад +28

    shoutout to the brave cubes who didn't make it out alive
    can't wait for part 2

  • @colabear1529
    @colabear1529 12 дней назад +1

    It's been 12 years, 4 months and 32 days since I lost The Game. I have lost it today brother, your nostalgia trip took me down some amazing memory lanes. I'm dating myself but I remember all the boys trying to beat that WHILE "The Game" was just starting to be a thing at my school. Wow.

  • @king_creeperz
    @king_creeperz Месяц назад +19

    The way TWHG collision works is it has multiple square dots on the player from the corners and directional sides. And enemies can something not touch them causing to not kill you, so this isn’t that accurate to the original (to be fair this was made in unity not flash)
    There is also corner clipping which saves a few frames lol

    • @andrei1959
      @andrei1959 Месяц назад

      i saw that on a video and i was thinking about it while watching

  • @True_Videos.
    @True_Videos. 12 дней назад

    Just found this channel on my recommended page and already enjoy it.

  • @Amasingearth
    @Amasingearth Месяц назад +55

    Ok Codebullet. I see you reuploading your old videos with new dialogue

    • @mrcelsius2928
      @mrcelsius2928 Месяц назад +6

      Ikr. This is literally a modernised copy

    • @valianty8
      @valianty8 25 дней назад +2

      Is this channel codebullet?

    • @Snowy10100
      @Snowy10100 12 дней назад +1

      ​@@valianty8Yep 100%

  • @alesonbrjk
    @alesonbrjk Месяц назад +12

    you could represent time in the 3rd dimension and use a pathfinding algorithm to the end and it becomes the fastest possible

    • @yablomas_
      @yablomas_ Месяц назад +1

      Ofc the method he used wasn’t very great but you would still need some kind of neural network since the things move

  • @TheRealRevolvingMadness
    @TheRealRevolvingMadness Месяц назад +66

    1:53 Missed opportunity to say "blue balls"

  • @megadynamike391
    @megadynamike391 19 дней назад +5

    2:35 Spartans be like

  • @camerongray7767
    @camerongray7767 23 дня назад +2

    Was OBSESSED with this game, played it through all of high school. Best I ever got was a 10 death run. The people who get perfect run are insane. I’m just not that good at games in general.

  • @Issei-sama
    @Issei-sama Месяц назад +3

    What a wonderful channel. Happy with what I just found, good luck to you, bro 📯🦈🔥

  • @Im_humanoid
    @Im_humanoid 11 дней назад +1

    Your gonna make it big you got 5k more subs in 4 weeks

  • @Salt2609
    @Salt2609 Месяц назад +2

    Bro you're new? I thought you're an old youtuber. Ngl your videos are great. New subs here🎉

  • @jemorasmussen1202
    @jemorasmussen1202 День назад

    i played this game recently, have finished it 4 times :D 1st time with around 2150 deaths, 2nd with around 200, 3rd with 31 and 3th wiht 27 :) a real love/hate relationship😂😂
    Edit: I dont mean to hate in any kind of way, so please take this in a constructive way, for the next videos with this! :)
    1: The red cube (player) is actually able to get hit without dying, while also being able to clip out of the map with its corners. This is because the hitbox of the cube only is in the very middle of each of the 4 sides.
    2: The blue dots only collides (changes direction) when the blue part of it touches the wall.
    3: CrazyGames' quality of "World's Hardest Game" is great in my opinion.
    Nice video!

  • @mz2760
    @mz2760 Месяц назад +3

    your channel has a great content

  • @Skivv5
    @Skivv5 Месяц назад +167

    This is what AI was meant for, not the creativity-killing slop it is usually used for now.

    • @ElxixAkaEpic
      @ElxixAkaEpic Месяц назад +21

      Exactly. It’s used like this, to add bots to games, etc. Sadly, it’s also used for art, music, and other things. This is why we need to stop using ai programs that take existing items and use those to produce “art”

    • @thatoneactualdude
      @thatoneactualdude Месяц назад +9

      @@ElxixAkaEpic ngl ai covers are kinda good tho (IF USED CORRECTLY AND FOR FUN) I've made some ai covers and trust me you'll be surpirsed on how some of the voice actors sing really well.

    • @trollsansofficial
      @trollsansofficial Месяц назад +3

      ​@@thatoneactualdude I use videogame music and click on prestemmed and see how bad it is

    • @romer21
      @romer21 Месяц назад +3

      ​@@ElxixAkaEpicmusic is also art, I think you have the wrong idea of what art is.
      This is the reason people (wrongly) call it AI "art", is not art, just illustrations

    • @Idkwholmao
      @Idkwholmao Месяц назад +3

      I use it for the funny, honestly.
      I love the chaos you can create!

  • @AmineGM73
    @AmineGM73 Месяц назад +51

    Can you do Geometry Dash next?

    • @katTheGreat
      @katTheGreat Месяц назад +7

      Its already done a million times, plus its very easy to mod in.

    • @yeeterdeleter0117
      @yeeterdeleter0117 Месяц назад +4

      The *real* world's hardest game

    • @digitaldissapointment
      @digitaldissapointment Месяц назад

      Tu tu tu tu tuuuuuuuu
      Tu tu tu tu tuuuuuuuu

    • @oreocookiedoge6077
      @oreocookiedoge6077 27 дней назад +1

      please do

    • @bop9444
      @bop9444 10 дней назад

      ​@@katTheGreatThe AIs that have been used before are either in a crappy copy of Geometry Dash, or are just simulated using TAS to look like AI

  • @8bitbunnie936
    @8bitbunnie936 Месяц назад

    I'd love to see more of this, man!

  • @Epic_Sliceer
    @Epic_Sliceer 26 дней назад +1

    "Ai learns to play geometry dash" would be my fav vid to watch (so plz make one)

  • @octi4684
    @octi4684 12 дней назад

    i would love to see this with the entire game

  • @SomeRandomStuff-nw6yp
    @SomeRandomStuff-nw6yp Месяц назад

    congrats on 12K subs!

  • @SlourpifyPlays
    @SlourpifyPlays 17 дней назад

    I NEED MORE OF THIS

  • @kirabuki
    @kirabuki 21 день назад

    just subscribed dude! you seem like an awesome guy

  • @LIFEISROBLOX_E
    @LIFEISROBLOX_E 24 дня назад

    holy how do you only have 10k sub with this quality

  • @JolleTeePlays
    @JolleTeePlays Месяц назад

    Your editing and the greenscreen cam look like danis. I love that.

  • @Davyjones777yt
    @Davyjones777yt 23 дня назад

    My friend coded a program that is basically a nitro type ban program. It types at about 350wpm, bt copy and pasting every letter, number, and symbol with almost no delay, depending on your pc

  • @DJMetalstone
    @DJMetalstone Месяц назад +1

    The AI would still be in trouble if the levels designs would be randomly spawned after you die in each level . Cause then it can't brute force learn repeat the action because it can't apply what it learnt because the environment keeps changing.

  • @Green-Code
    @Green-Code Месяц назад +1

    Bro is too good at making videos

    • @Portable_Sinco
      @Portable_Sinco Месяц назад

      🫵😮👊
      ✋️😂🤚
      👋😊👊

  • @shamilmadatov8832
    @shamilmadatov8832 9 дней назад +1

    im a game dev and
    how do you mess up collisions so creatively
    its literally such an easy code and you accidentally made something so much more complicated

  • @Karma_Phoenix
    @Karma_Phoenix 26 дней назад

    The red line that shows what point you’re at in the video broke for me so now I have a line that goes outside the screen 👍 (completely unrelated to the video)

  • @SmrtZ
    @SmrtZ 26 дней назад

    You should make a game using the original crash physics! That would be really interesting

  • @TheBestBalloon
    @TheBestBalloon 12 дней назад

    1:33 this reminds me if the time I was at a coding camp an I accidentally created super simple gravity physics that nobody ther knew and my teacher just deleted it with no second thoughts

  • @_GhostMiner
    @_GhostMiner 25 дней назад +4

    *0:35** you could've decompiled the game.*

  • @Adv3nture_
    @Adv3nture_ Месяц назад

    the first collision would actually make a great game

  • @Emerald-Block-FR
    @Emerald-Block-FR 17 дней назад

    The AI is a speed runner once it learns how to do all levels

  • @Patchy7929
    @Patchy7929 22 дня назад

    i remember Easly clearing most of this game in school and a one of my friends was so impressed

  • @Colgonics
    @Colgonics 17 дней назад +1

    Ethical or not, I’m making a X man with that algorithm.

  • @endgamin1077
    @endgamin1077 3 дня назад

    I’m a welding major, why am I watching this at 11:30pm on a Sunday

  • @JiG_Yi
    @JiG_Yi 3 дня назад

    while i was forcing myself to blurr my eyes i kind of saw an illusion from the game

  • @Eros_666
    @Eros_666 Месяц назад +1

    Nice job ma man I really love your videos, i have question dose th AI memorise the movement or understand the movement? I’m asking because i wanna know the if the same Ai how pass certain level can be use in another levels

    • @TV-jm3vq
      @TV-jm3vq Месяц назад

      1. AI is a black box. We can't tell it learns or remembers.
      2. Yes, and this is faster learning in passing levels.

  • @BamBoy568
    @BamBoy568 26 дней назад +2

    You should do tetris because i want to see if it will use das (holding the button down) or hypertap (it moves it faster)

  • @arkfargon
    @arkfargon 25 дней назад

    This is actually harder, the red square has 4 points on it in the original (for the walls and blue circles), placed in the middle of the right, middle of the left, and on top and bottom. In this case the has a full hitbox all around it. Now before anyone says I'm hating, im just stating something. That square is a fucking pro at this game with what it did on stage 2 btw like that shit is hard af (i just realized king_creeperz and prolly a few other people already stated this fact, but im still commenting this either way :))

  • @CarlBenson-i8g
    @CarlBenson-i8g 26 дней назад

    this is giving energy

  • @Gaston_15
    @Gaston_15 Месяц назад

    We need a ia that he can see, that is, knowing that he has something in front of him, like a wall, and that he learns what that object does on his own.

  • @thebanman2293
    @thebanman2293 23 дня назад

    The sponsor in this video is Brilliant

  • @BentleyTypeR
    @BentleyTypeR 5 дней назад

    Can we get one with all of the population? Kinda takes the fun out of it

  • @tEmMiEyAyAyA
    @tEmMiEyAyAyA 12 дней назад

    1:34 Omg i need a game like that it would be fun

  • @ReuZapper
    @ReuZapper Месяц назад +1

    i want more levels and the time laps should be 10x speed

  • @K0rgr4Nxe
    @K0rgr4Nxe 25 дней назад +1

    Art any% glitchless

  • @thekiwibirb274
    @thekiwibirb274 Месяц назад

    Make a part two I beg of you

  • @muhammadhamza7891
    @muhammadhamza7891 Месяц назад

    man it'll be great if u can make tutorials on how to make this type of stuff

  • @shadow_4378
    @shadow_4378 17 дней назад

    1:40 bro how does that even just casually happen lol

  • @nonononoonononononohaha
    @nonononoonononononohaha 28 дней назад

    1024 deaths on first map is insane

  • @DesmondAshton-Shaw
    @DesmondAshton-Shaw Месяц назад

    You are the next codebullet and it’s amazing

  • @Probuum100
    @Probuum100 Месяц назад

    you could speedrun painting with the mario star power up

  • @StijnVanDerTol
    @StijnVanDerTol 18 дней назад +2

    Code bullet knock off

  • @giohappy
    @giohappy Месяц назад +1

    no way, ive been playing alot of this

  • @NathanplaysRoblox-s8o
    @NathanplaysRoblox-s8o Месяц назад

    If you wanna know, code bullet did the exact same thing

  • @Just_A_Random_Idiot_3.14
    @Just_A_Random_Idiot_3.14 26 дней назад

    we used to have triple A artists
    soon we'll have triple A *battery* artists

  • @gemmutiga4029
    @gemmutiga4029 Месяц назад

    HOW R U NOT VIRAL???

  • @mestesso3908
    @mestesso3908 24 дня назад

    Now the ai must swear when it makes a mistake

  • @-DeIeted-
    @-DeIeted- 22 дня назад

    Full game pls

  • @GuardianOfTheFloodedFortress
    @GuardianOfTheFloodedFortress 19 дней назад

    THIS is what ai should be used for

  • @FanticDaBest
    @FanticDaBest Месяц назад +3

    2:35 And if they can walk…
    *Diddy has joined the chat*

  • @lowerstafe
    @lowerstafe 18 дней назад

    Bro forgot to add weight to collisions 💀

  • @Bread_37
    @Bread_37 26 дней назад

    This is why the ai uprising will happen, you forced it to play the worlds hardest game

  • @karmasense7457
    @karmasense7457 13 дней назад

    i may have found my dani replacement

  • @NoPixer
    @NoPixer Месяц назад +1

    “Little bit older”😭😭

  • @T4TheTidePod
    @T4TheTidePod 25 дней назад

    People see stuff like this and still think evolution is fake

  • @NosussyStuff-x9o
    @NosussyStuff-x9o 25 дней назад

    I've played this before on Roblox... Strange it's just then published. I played it like a year ago

  • @hoxvirus3423
    @hoxvirus3423 7 дней назад

    how do i make an ai simulation like this. Its so cool, great vid

  • @gamemod10GD
    @gamemod10GD 29 дней назад

    Here at 12k (had to say it before u hit 1M

  • @sharvansingh7013
    @sharvansingh7013 Месяц назад +1

    what's background music?

  • @quintopia
    @quintopia Месяц назад

    Isn't that two different AIs? One for each level? Are you thinking of making a new AI for each of the other levels too?

  • @ImaSPY-s5d
    @ImaSPY-s5d 24 дня назад

    yeah do more levels but do like the top 3 best AI players

  • @mister_koshkin
    @mister_koshkin 21 день назад

    2:35
    What if the kid does learn to walk at day 1? Do you make him reproduce? XD

  • @DOCtorActoAntohich
    @DOCtorActoAntohich Месяц назад

    fun stuff to mess with. sadly a genetic algorithm bruteforces a sequence of actions for a specific level that lets you beat it, and a greedy algorithm ("the closer to finish the better") might troll you on levels where path to finish is not like a straight line
    also i assume it's painfully slow to train not only because it's glorified rng, but also cos you're tied to unity's tickrate :(

  • @colon44
    @colon44 Месяц назад +6

    1:34 WHY WOULD IT HAVE PHYSICS???? WHY WOULD IT COUNT AS A PHYSICS OBJECT AT ALL??? Is this a Unity thing???

    • @ric8248
      @ric8248 Месяц назад +2

      To use the collision system

    • @gasterweed8333
      @gasterweed8333 Месяц назад +1

      yeah, unity its like that xddd
      its horrible the first time and then you learn how to turn it off

  • @whtiequillBj
    @whtiequillBj Месяц назад

    is every level self contained or does the AI bring "experience" from the previous level?
    also would that make it easier if the AI already knew what its doing from the previous level?

  • @M0nochr0me-tb
    @M0nochr0me-tb 23 дня назад

    “the game doesn’t have any glitches”
    the game - 1:34

  • @daepe
    @daepe Месяц назад

    Code bullet but underrated

  • @blazer9547
    @blazer9547 Месяц назад

    We want to see all levels.

  • @PurpleBug222
    @PurpleBug222 17 дней назад

    haha!
    i was charged with second degree murder.

  • @TauP420
    @TauP420 19 дней назад

    Do the last level!

  • @Sandw1chTurtle
    @Sandw1chTurtle 25 дней назад

    guys, im sad to tell you that unfortunately you can't type awesome to have the process bar go rainbow anymore

  • @Qwertysqu
    @Qwertysqu Месяц назад +1

    Give the ai ray casts

  • @mr_epok
    @mr_epok 29 дней назад

    1:35 seems good wdym

  • @wentaoqin1446
    @wentaoqin1446 25 дней назад

    This isn't the world's hardest game but it's literally called 'the world's hardest game'.

  • @Oligael10
    @Oligael10 Месяц назад

    When Subway Surfers AI? (well, this is a little difficulty cuz in the game you run faster after pass a long time playing, if you wanna make it, it's going to be fun, hehe)

  • @M-sound23
    @M-sound23 Месяц назад

    New sub❤️

  • @TheMadProgrammersOfficial
    @TheMadProgrammersOfficial Месяц назад

    Now do it in VULKAN

  • @PedroDias-cd4hf
    @PedroDias-cd4hf 21 день назад +1

    0:28 This is the definition of og i have great memories with this game

  • @ric8248
    @ric8248 Месяц назад

    Artificial? YES
    Intelligence? HELL NO

  • @anton96400
    @anton96400 17 дней назад +1

    Not actually ai, just bruteforcing.