Can you fit a whole game into a QR code?

Поділитися
Вставка
  • Опубліковано 29 лип 2020
  • In my headcanon, Hannah Montana was a brilliant x86 assembly programmer on the down low. Hey you never know, leading double lives was her specialty right?
    ▶Try it yourself: www.mattkc.com/etc/snakeqr/
    For those asking, yes I submitted my patch to ZBar and it has now been merged into master: github.com/mchehab/zbar/commi...
    ▶Features the following videos
    "Boot Sector Games" - The 8-Bit Guy
    • Boot Sector Games
    "Nintendo's big mistake that made Super Mario 64 super slow" - MattKC
    • Nintendo's big mistake...
    "Intense Hacking!" - MemeManTV
    • Intense Hacking! (Hack...
    ▶Features the following 1K demos
    "Searching for the silver lining" by Seven
    • Searching for the silv...
    "Escape through subspace 1K" by Seven/Fulcrum
    • Escape through subspac...
    ▶SUBSCRIBE: / @mattkc
    ▶FOLLOW on Twitter: / itsmattkc
    ▶FOLLOW on Instagram: / itsmattkc
    ▶MUSIC USED
    Lamb - setting sun
    DualTrax - orion crackmusic
    xyce - sea side blues (xyce.bandcamp.com/)
    Graff - rain eater
    Kalachnikov - Mental delivrance
    zoolrave
    Pink - sonic sucks!
    BRD RinjaniSoft Products Universal
    Ghidorah - GhidaPop
    CORE - mr spock's cryo-bed
    Maktone - class cracktro#15
    BLiZZARD - Contraduct Design
    4-Mat - eternity
    xyce - jetstream (xyce.bandcamp.com/)
    falcon/pulse+tdr - spineless
  • Наука та технологія

КОМЕНТАРІ • 16 тис.

  • @naufal4752
    @naufal4752 3 роки тому +15114

    I scanned the QR code on the thumbnail and it says
    "Nope, this isn't the game, You'll have to watch the video for that ;)"

    • @markusTegelane
      @markusTegelane 3 роки тому +1768

      Nice easter egg

    • @yuddpudd
      @yuddpudd 3 роки тому +464

      @Weirneir Low key disappointed

    • @dappermanphoto
      @dappermanphoto 3 роки тому +608

      Also worth mentioning at 19:08 it says "Did you ever hear the Tragedy of Darth Plagueis the wise? I thought not. It's not a story the Jedi would tell you. It's a Sith legend. Darth Plagueis was a Dark Lord of the Sith, so powerful and so wise he could use the Force to influence the midichlorians to create life... He had such a knowledge of the dark side that he could even keep the ones he cared about from dying. The dark side of the Force is a pathway to many abilities some consider to be unnatural. He became so powerful... the only thing he was afraid of was losing his power, which eventually, of course, he did. Unfortunately, he taught his apprentice everything he knew, then his apprentice killed him in his sleep. It's ironic he could save others from death, but not himself." Tons of little easter eggs

    • @draysenanimation
      @draysenanimation 3 роки тому +15

      I did that too ;-;

    • @10meisterballe
      @10meisterballe 3 роки тому +49

      All QR codes have an Easter egg

  • @batmanrapman578
    @batmanrapman578 3 роки тому +7892

    Recommendtions: "Can you fit a whole game in a QR code?"
    "Yes".
    Me: "Understandable, have a great day."

  • @GreatNewo
    @GreatNewo Рік тому +344

    *1: Turn off WiFi, 2: Scan QR, 3: Epic Dino Game!* 🤯

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

      LMAO

    • @SOXPYMSM-cy1lm
      @SOXPYMSM-cy1lm Місяць тому +7

      this is impossible, every time i turn it off and come back to see the next step i have to turn it on again, help

    • @tatertotboi
      @tatertotboi 18 днів тому +3

      ​@@heart755it's not that funny 💀

    • @heart755
      @heart755 18 днів тому

      @@tatertotboi i dont mean to laugh but he means code a whole game not on the cloud its not that easy

    • @xellpur
      @xellpur 12 днів тому

      chillax ​@@tatertotboi

  • @theknight7576
    @theknight7576 Рік тому +1146

    Can we appreciate the fact that he got straight to the point

    • @jackthejackass782
      @jackthejackass782 11 місяців тому +19

      @enrique amaya bro wtf are you saying?

    • @yigawaffle
      @yigawaffle 10 місяців тому +4

      @@enriqueamaya3883 a̴̧̟̰̺͎̫̼̫̩͇̾͂n̵̰̳͒͋͗̒͛͝n̷̛̤̫̮̹̫̱̦̔̂̊͋̎͝o̴͚̠͈͈͕̟̬͉̺̰͒ṫ̸̬͕͇ȃ̴͙̙̲̪̎̿̈́͠t̵̛̫͕̘̭̓́͛͒́̐̔͋͝i̷̝͖͓̗̎̒́̚o̸̭̳̫̞̻̹̥͖͐̿͝n̸̳͕͈̝̉̀̉͒̽͋̃̕͜

    • @gabrielv.4358
      @gabrielv.4358 9 місяців тому

      no?!

    • @Utetheisa-Coloptera-Ulgari
      @Utetheisa-Coloptera-Ulgari 8 місяців тому

      Can we appreciate the fact you're a bot

    • @nxsus
      @nxsus 8 місяців тому +3

      yeah like, he just started the video saying "Yes.", couldn't be more straighest-to-the-point

  • @floatyjam
    @floatyjam 3 роки тому +8262

    Finally, a video that answers a question right when I click it

    • @zacg2953
      @zacg2953 3 роки тому +182

      this video and also daily dose of internet

    • @Aizekku
      @Aizekku 3 роки тому +138

      This should be the standard practice. And then I stay BECAUSE I already know the answer... I want to know why and how. 😂

    • @taufikilhamID
      @taufikilhamID 3 роки тому +8

      Yes

    • @metalwellington
      @metalwellington 3 роки тому

      I know

    • @sebastiangriffiths480
      @sebastiangriffiths480 3 роки тому +13

      yess because most youtubers think you cant read the title of the video and take 5 minuites to explain what they are doing

  • @oreowithurea5018
    @oreowithurea5018 3 роки тому +3093

    "Can you fit a whole game into a QR code?"
    - *YES!*
    * Video ends *

    • @chrissquid
      @chrissquid 3 роки тому +42

      He is the first youtuber ive seen who doesn’t drag out the answer to the question until the end of a 20 minute video; he answers he right away then begins explaining how it is possible

    • @mohammadzaidsaraf5325
      @mohammadzaidsaraf5325 3 роки тому +7

      This had 999 liked. I made it 1k 😁

    • @oreowithurea5018
      @oreowithurea5018 3 роки тому +5

      @@mohammadzaidsaraf5325 consider this as your lifetime achievement. While I'll consider 1.1 k likes with only 4 comments as my achievement

    • @henrystickmin3460
      @henrystickmin3460 3 роки тому

      *DIRECTED BY*
      Robert B

    • @gamtheobbiest7945
      @gamtheobbiest7945 3 роки тому

      @@oreowithurea5018 one time i got 5k likes on a meme comment, and then i couldnt find the comment any more

  • @moni_dt
    @moni_dt 11 місяців тому +160

    I really appreciate that every single qr code in this video, including the version 40 one, is a working qr code.

  • @CaveyMoth
    @CaveyMoth 10 місяців тому +40

    This really shows how much we take sprites, polygons, or anything else that involves graphics in any shape or form, for granted these days.

  • @thatguybrody4819
    @thatguybrody4819 3 роки тому +2514

    short answer: yes
    long answer: it's hard and complicated and the amount of material you have to work with is tiny but yes.

    • @has5ul707
      @has5ul707 3 роки тому +2

      tysm

    • @adzin0093
      @adzin0093 3 роки тому +2

      Thx for saving me watching a 20 minute video

    • @JonISNH
      @JonISNH 3 роки тому +28

      @@adzin0093 I mean MattKC literally puts it in the beginning.

    • @ydorb4752
      @ydorb4752 3 роки тому +5

      One sentence is the long version?

    • @thatguybrody4819
      @thatguybrody4819 3 роки тому +9

      @@ydorb4752 actual long answer: due to restrictions with limited space on the code, that combined with the amount of effort you would need to put in and the types of games you would even be able to create with such limited capacity for action and input for commands and goals to the point where creating a simple game like snake (might not even be able to do pong) that has relatively really simple and very light code is difficult, it might not really be worth the effort but yes you can.

  • @blackpanther300.
    @blackpanther300. 3 роки тому +1676

    *clicks on video*
    "YES"
    "nice alright thank you"

    • @julianlockhart1959
      @julianlockhart1959 3 роки тому +70

      best video ever.... direct clear and not a scam at least

    • @PlittHD
      @PlittHD 3 роки тому +27

      „Yes“
      Understandable, have a nice day

    • @komfyrion
      @komfyrion 3 роки тому +16

      *video comes on through auto play in the background*
      "YES"
      ????

    • @JoeDavisMusic
      @JoeDavisMusic 3 роки тому +1

      @@komfyrion SAME.

    • @Miguel-bs6kh
      @Miguel-bs6kh 3 роки тому +1

      @@thethinker2372 background noise is cool, don't judge us

  • @theotherdashmelted
    @theotherdashmelted Рік тому +470

    Fun fact: The 2.88KB QR Code mentioned at the beginning, you'd need just under 11 of those to fit Super Mario Bros, one of the simplest colored games of all time (for reference, the size of the actual ROM file is 31KB and the the precise amount is 10.77 2.88KB QR codes)

    • @RafaelMunizYT
      @RafaelMunizYT Рік тому +23

      just split the code into 11 QR codes then run all executables

    • @VJK102
      @VJK102 Рік тому +36

      One of the simplest!? We have the whole Atari and clones library before that

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

      in fact game cartidges could be thought as microscopical qr codes, since qrs are much larger they can store way less space up until 2.88kb

    • @MarioMaster02
      @MarioMaster02 11 місяців тому +9

      Not fun, not a fact

    • @MacInTheBox
      @MacInTheBox 11 місяців тому +13

      Can't believe you called them """colored""" games... It's 2023 bruh, get woke.

  • @RafaelMunizYT
    @RafaelMunizYT Рік тому +49

    I love these high effort videos of guys doing random seemingly impossible stuff no one asked for but everyone is curious to see. I catch myself watching a lot of these videos lately

  • @apiian
    @apiian 3 роки тому +1306

    The first QR code wasn't a rick roll...
    That's a missed opportunity.

    • @crimsonkarma13
      @crimsonkarma13 3 роки тому +24

      That's overused

    • @michaelepica3564
      @michaelepica3564 3 роки тому +4

      TheDiamondOre it’s not funny anymore and I actually like never gonna give you up so it’s kinda useless now

    • @aimeeharding8097
      @aimeeharding8097 3 роки тому +4

      It was CoolMathsGames though so its still cool

    • @justsomemonkeymanwithlongh3188
      @justsomemonkeymanwithlongh3188 3 роки тому +9

      MichaelEpicA that’s your opinion tho others still find it funny

    • @lizzyleea
      @lizzyleea 3 роки тому +3

      Overused memes smh

  • @chasedig3156
    @chasedig3156 3 роки тому +1524

    Time to start smuggling QR code games into school...

    • @uzziel7273
      @uzziel7273 3 роки тому +36

      LMAO

    • @butterflyexists
      @butterflyexists 3 роки тому +31

      though if anyone does actually do this, you need a qr code scanner - which you have to download. at that point, you could just download some game off the internet or get a pen-drive.

    • @dietjeffrey
      @dietjeffrey 3 роки тому +52

      Next up is Mario 64 on 20 pieces of paper

    • @OpRaven-62
      @OpRaven-62 3 роки тому +17

      @@butterflyexists iOS devices have a QR code scanner preinstalled with the camera.

    • @coolguyx14
      @coolguyx14 3 роки тому +4

      same

  • @KatJustice97
    @KatJustice97 2 місяці тому +7

    My first thought upon seeing the title was "Probably, so long as you do it in assembly code." I'm actually shocked I was right, considering how little I know about programming. Neat vid, thanks for making it! The channel Dave's Garage has a really neat video where he tries to write the smallest functioning program he can in assembly code, highly recommend to anyone who likes stuff like this

  • @armin.herold
    @armin.herold 4 місяці тому +5

    I really love that you answered the question in the first frames! This really satisfied me lmfao. You got a sub and just for that I'll watch the entire video.

  • @Megabites46
    @Megabites46 3 роки тому +1615

    Me: sees title and clicks video
    MattKC: "Yes..."
    Me: *LIKE*

  • @DavidSanguineti
    @DavidSanguineti 3 роки тому +24142

    Hot compression tip: rename snake.exe to snek.exe for that extra byte

    • @MorriganQueen451
      @MorriganQueen451 3 роки тому +3563

      s.exe

    • @unfa00
      @unfa00 3 роки тому +692

      SNES.exe?

    • @MorriganQueen451
      @MorriganQueen451 3 роки тому +319

      @@hilgertbos742 x

    • @Diamonddrake
      @Diamonddrake 3 роки тому +754

      File names are not part of the file. They exist in the file formatting on the storage media not the actual file contents. You can test this by changing file names and checking file sizes to see that it doesn’t change.

    • @Diamonddrake
      @Diamonddrake 3 роки тому +379

      Z1PLOKK the file doesn’t contain its own name. It’s not part of the QR code. The file system contains the name, which you have to supply at time of scan. On FAT file system for example file names are pre allocated to 11 characters. Changing the name doesn’t affect the size of the FAT meta data at all. Names are labels in the file system not part of the file itself. Yes the data exists somewhere, but not as part of the file.

  • @hiimshana
    @hiimshana 10 місяців тому +14

    Ok, I’ll be honest.
    This video has been on my feed for quite some time, and finally I clicked it thinking “too long, I’ll just skip around to find the answer and see the final product”.
    As soon as I click, I’m met with an instant reply to the question, and that not only sets up the video in a great way, but also makes me instantly 100x times more interested in the topic.
    I ended up watching every second of it, despite knowing literal basic C from highschool, great project.

  • @csharpcoffee
    @csharpcoffee Рік тому +33

    As a developer myself, I would have accepted the JS/HTML version as a valid non-clickbait solution.
    So you know, mad props for going the extra mile!

  • @hhhpestock951
    @hhhpestock951 3 роки тому +2033

    Next up: "Can you store an operating system on a bar code"

    • @Abrifq
      @Abrifq 3 роки тому +85

      Technically you can launch the first iterations of linux with them, it will require a new bootloader to read it too. I mean, they already made a vinyl bootloader.

    • @dr.mikizzletherapist8294
      @dr.mikizzletherapist8294 3 роки тому +122

      Time to start smuggling QR code games into school...

    • @circleubuntu
      @circleubuntu 3 роки тому +16

      Yes. Look at KolibriOS

    • @reggiedovener4598
      @reggiedovener4598 3 роки тому +4

      Hell yeah

    • @reggiedovener4598
      @reggiedovener4598 3 роки тому +1

      @@dr.mikizzletherapist8294 true

  • @benzjeastherfabroa9454
    @benzjeastherfabroa9454 3 роки тому +8048

    He's a genius! His thumbnail, with a QR Code, that I scanned literally says "Nope, this isn't the game. You'll have to watch the video for that ;)"
    Give him big thumbs up for his trick.

    • @VoidAshen
      @VoidAshen 3 роки тому +80

      @ENRG Twix didnt get why are u mad

    • @skmvlogs260
      @skmvlogs260 3 роки тому +176

      And when you scan qr code at 0:15 it says "subscribe to MattKC"

    • @beeb4439
      @beeb4439 3 роки тому +149

      @@skmvlogs260 the one at 0:42 says Genesis does what Nintendon't

    • @Lunarcreeper
      @Lunarcreeper 3 роки тому +5

      Omg it does!!!

    • @rubeushagrid8990
      @rubeushagrid8990 3 роки тому +61

      3:48 this one sais DEEZ NUTS! HA! GOTEEEM

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

    Wow, the beginning of the video is great. Straight to the point, answering the question in the title. You have me hooked already.

  • @ee-gamer3398
    @ee-gamer3398 Рік тому +3

    Dude, I absolutely dig the fact that you got straight to the point and answered the question in the first second of the video

  • @Karmacide
    @Karmacide 3 роки тому +955

    Dont worry guys, doom will soon be available in QR CODE

    • @Landshark3704
      @Landshark3704 3 роки тому +36

      Karmacide finally, we can rip and tear on the go

    • @filippopiantanida8792
      @filippopiantanida8792 3 роки тому +53

      Just like the old floppy disks. 10000 QR codes to install

    • @strider04
      @strider04 3 роки тому +10

      Good, doom must spread its code.

    • @lol70721
      @lol70721 3 роки тому +2

      Hooray

    • @edituniverse4679
      @edituniverse4679 3 роки тому +1

      What about gta v on qr code?

  • @gutzbin
    @gutzbin 3 роки тому +1579

    Short answer: Yes
    Long Answer: *Goes off like a madman for 20 minutes straight*

    • @TheHeroicManYT
      @TheHeroicManYT 3 роки тому +2

      comment copy pog

    • @gutzbin
      @gutzbin 3 роки тому +3

      TheHeroicMan Poggers indeed

    • @damwizzthegreat
      @damwizzthegreat 3 роки тому

      Get this man to 666 likes👍

    • @gutzbin
      @gutzbin 3 роки тому +1

      Ihmisen Kuva Didn’t need to swear, my dude. And, i’m not a kid, but go off.

    • @alexisjohnson6079
      @alexisjohnson6079 3 роки тому +2

      @@timosipila544 insert unneccesary swearing I guess. 🙄

  • @unclaimedusername6608
    @unclaimedusername6608 10 місяців тому +2

    Thank you for not dragging the video out and dropping the answer right away, THEN expanding on your ideas. I appreciate that.

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

    I love these vids, easy for a non techy person to understand and the video editing is excellent! Thanks for the entertainment 😊

  • @Phil8sheo
    @Phil8sheo 3 роки тому +1415

    2007: Can it run Crysis?
    2020: Snake in a QR code
    2107: Crysis in a QR code.

    • @somnorila9913
      @somnorila9913 3 роки тому +40

      The way i see it you can do it right now. Like in the same way you had to install big software using many diskettes, you basically can do the same thing with many codes. But i doubt that you could magically increase the data storing capacity of QR codes. It's not like in 2107 you'll carry all your TB of porn on a small sticker in your wallet in case the internet is down.

    • @pandasensei3016
      @pandasensei3016 3 роки тому +15

      @@somnorila9913 *doubt*

    • @gopherguts2183
      @gopherguts2183 3 роки тому +10

      Somnorila Im pretty sure that in some form NAND flash memory could be converted into a very thin form, so yeah you probably could carry around terabytes of data on a sticker 1 day

    • @MelroyvandenBerg
      @MelroyvandenBerg 3 роки тому +10

      2000: Can it run Snake?..

    • @cedricsturm2489
      @cedricsturm2489 3 роки тому +5

      @@somnorila9913 Well, with different gray shades, for example, you could theoretically store more data on the same surface.

  • @tempzsttwo9858
    @tempzsttwo9858 3 роки тому +550

    If anyone’s wondering, the QR code in the thumbnail says this: *“Nope, this isn't the game. You'll have to watch the video for that ;).”*

    • @jobiwobiwaffles
      @jobiwobiwaffles 3 роки тому +44

      And the thumbnail that’s turned sideways almost like a diamond at the beginning of the video says “sub to MattKC”. And then the one with coolmathgames, sends you to coolmathgames.com

    • @isthisanemergencyfood3919
      @isthisanemergencyfood3919 3 роки тому +8

      Yea I tried

    • @americantimelord8720
      @americantimelord8720 3 роки тому +17

      The one at 0:42 says "Genesis does what nintendon't." The version 40 one at 1:49 is beyond the capabilities of Google Lens.

    • @Mxtthew24
      @Mxtthew24 3 роки тому +5

      Everything about this video is genius for keeping people interested.

    • @tempzsttwo9858
      @tempzsttwo9858 3 роки тому +2

      Matthew 2400000 yup

  • @salmonsoup15
    @salmonsoup15 7 місяців тому +2

    You cheeky man, i scanned the thumbnail

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

    This is amazing, well done done! Fun experiment

  • @lukiluk8104
    @lukiluk8104 3 роки тому +364

    Soon :
    "Can you fit a virus in a QR code ?"

    • @taelim6599
      @taelim6599 3 роки тому +69

      Turns out, yes! You just need an eyedropper, a printed copy of the QR code, and the ability to not get caught stealing from the hospital.

    • @jeremycbarnhart2305
      @jeremycbarnhart2305 3 роки тому +17

      Just wait until we have visual implants....
      Covering your eyes so you dont peek at a QR and get sick.

    • @inktouhou
      @inktouhou 3 роки тому +52

      when there's a robot apocalypse we can just put the QR code on our shirt, when the robot sees us, it automatically scans the code, and fucking destroy itself ez

    • @Akirashinto
      @Akirashinto 3 роки тому

      Easy print it and spit on it. Corona QR.

    • @CapitanJorge24
      @CapitanJorge24 3 роки тому

      Kwahahahhahahahahhahaha KWAHAHAHHAHAHAHAHHAHAHAHHAHAHAHAHHAHAHA

  • @ripudude
    @ripudude 3 роки тому +11882

    Appreciate the answer being given immediately.

    • @KermitTheGangsta58
      @KermitTheGangsta58 3 роки тому +187

      engineer gaming

    • @lucky.267
      @lucky.267 3 роки тому +71

      @@KermitTheGangsta58
      @engineer gaming

    • @TheOnlyBlancy
      @TheOnlyBlancy 3 роки тому +57

      @@KermitTheGangsta58
      @engineer gaming
      @engineer gaming

    • @ChesterTheGod
      @ChesterTheGod 3 роки тому +46

      @@KermitTheGangsta58
      @engineer gaming
      @engineer gaming
      @engineer gaming

    • @fooladoo1076
      @fooladoo1076 3 роки тому +60

      Appreciate the answer not being spoiled in the top comment!

  • @TheObviousOneGD
    @TheObviousOneGD 7 місяців тому +1

    One of my favourite UA-cam-videos of all times!

  • @TinyTalesCafe
    @TinyTalesCafe 7 місяців тому

    The amount of Knowledge and expertise you have is Majestic

  • @Serena_724
    @Serena_724 3 роки тому +1787

    he gets to the point under 2 seconds
    I like this guy

    • @t-man1805
      @t-man1805 3 роки тому +14

      Exactly!

    • @stefan3597
      @stefan3597 3 роки тому +33

      I was so suprised reading the title in my head and then the YES. And i was just looking around like huh? Who?

    • @tristxn999
      @tristxn999 3 роки тому +5

      But still makes an over 20 Minutes Video, about it

    • @moonhorizon9245
      @moonhorizon9245 3 роки тому +7

      @@tristxn999 and? he answers the question as soon as the video starts without wasting time with unrelated bullshit like most other youtubers. whether you're curious enough to keep watching is up to you.

    • @itzthirteen
      @itzthirteen 3 роки тому +1

      @I’m Blue La ba dee la ba die

  • @Albert1tein
    @Albert1tein 3 роки тому +1931

    Fun Fact: The QR-code in the thumbnail says: "Nope, this isn't the game. You'll have to watch the Video for that ;)"

  • @shahbaz7231
    @shahbaz7231 8 місяців тому

    I first watched this video a couple of years ago, back then I didn't understand that much. But now as a GT it was a fun ride to watch this. Awesome video

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

    I have been going through this video scanning all these QR codes and some of them are so funny I love the vids keep it up. : ]

  • @theoouy
    @theoouy 3 роки тому +386

    "Yes."
    I thought the vid was gonna end right then and there.

  • @eeveegaming4798
    @eeveegaming4798 3 роки тому +467

    This is like Scientist inventing nuclear technology and just hoping it doesn’t cause hell

    • @chloebowden7984
      @chloebowden7984 3 роки тому +23

      I am become death, the destroyer of worlds.
      -Robert Oppenheimer

    • @Ecliptid
      @Ecliptid 3 роки тому

      TheCrafterOfGD
      I play GD too i made video’s

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

    The qr code on the tumbnail says "Nope, this isn't the game. You'll have to watch the video for that ;)" cool easter egg😂❤

  • @phoenixprince1806
    @phoenixprince1806 5 місяців тому +2

    thank you so much for making this video, this is invaluable to me as someone who has been trying to figure out the best way to code a (benign) showpiece virus/game. this seems like a good way to make it as small and simple as possible, especially if i don't need to actually cram it into 3kb of space

  • @EeveeFromAlmia
    @EeveeFromAlmia 3 роки тому +414

    "I'm going for a game that anybody who had one of these remembers fondly,"
    snake snake snake snake snake snake
    "snake!"
    yEAH

  • @anaccounti_guess6706
    @anaccounti_guess6706 3 роки тому +401

    6 year old me who used QR Codes as a maze: yes

  • @StevenWernerCS
    @StevenWernerCS 15 днів тому

    I had this idea 8 years ago, you did a great job. glad to see it's possible

  • @Mustafa25TR
    @Mustafa25TR 5 місяців тому

    This is first time wathcing this guy and i just subbed in 5 secs of the video cuz he just answered the question instantly. I love this type of content creators.

  • @Flynn1411
    @Flynn1411 3 роки тому +195

    Saw the title, thought to myself: "Meh, probably he will write it for web browser". Then he said Assembly x86 and that's when it got real.

    • @jetkazama9206
      @jetkazama9206 3 роки тому +4

      LMAO I LAUGHED AT THIS WAY MORE THAN I SHOULD HAVE

    • @Guztav1337
      @Guztav1337 3 роки тому

      @@jetkazama9206 yes, you did.

    • @user2C47
      @user2C47 3 роки тому +1

      Then @? said Assembly 6502 and that's when it got serious.

  • @emirbarut6060
    @emirbarut6060 3 роки тому +117

    He literally said "Yes" in the begining. Respect

    • @onioncutterninja1535
      @onioncutterninja1535 3 роки тому +2

      To be serious, this guy deserves A LOT more than he gets, instead of forcing us into a whole video, he really just told us at the beggining,
      We kept on the video for interest.

  • @teup010
    @teup010 29 днів тому

    What a nice video and a 10 for you being so thorough and patient. 👌🤗

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

    Man, you are crazy! and wild and amazing, all in the same time!

  • @tittenficker1235
    @tittenficker1235 3 роки тому +668

    Normal UA-camrs: Hello guys and welcome back to...
    MattKC: *YES*

  • @thatpilotfrey3752
    @thatpilotfrey3752 3 роки тому +460

    Let’s just take a moment to appreciate that this dude went pretty straightforward without any word games

  • @bluezebra2759
    @bluezebra2759 7 місяців тому +1

    The thumbnail got me, you are hilarious

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

    BRILLIANT! Thank you! Subscribed!

  • @NamelessKnightt
    @NamelessKnightt 3 роки тому +5484

    I love how you immediately answer the question as soon as the video starts, it's a nice change for once.

  • @painfulsnare
    @painfulsnare 3 роки тому +465

    “When will we ever even use the math we learn in high-school?”

    • @BloomingHeathers
      @BloomingHeathers 3 роки тому +8

      Well, it depends on your jobs for living

    • @andreivarbanov3528
      @andreivarbanov3528 3 роки тому +5

      If you don't want to become a game developer, scientist in neuron networks or something like that, you don't need that much high level math, when talking about programming

    • @narrspiel5795
      @narrspiel5795 3 роки тому +1

      when we finally meet that one boy buying 200 eggs with 50 cent, 20 cent and 10 cent coins

    • @iseeyou4622
      @iseeyou4622 3 роки тому +3

      What if we replace algebra with coding... Maybe I will enjoy school more and it will actually be helpful

    • @yrok244
      @yrok244 3 роки тому +1

      Math is for those with high ambitions. You have to choose to use higher level math, it’s not required. Most people don’t have high ambition, they just accept whatever occupation they have and become complacent. Working their 9-5 until they die.

  • @briewilliams6185
    @briewilliams6185 7 місяців тому

    you are crazy man. i hope to code like you some day

  • @Baku_bro
    @Baku_bro 8 місяців тому +2

    I really like scanning the qr codes as it goes on. It’s really fun 😊

  • @lizerdlips2
    @lizerdlips2 3 роки тому +1234

    I really like how you opened it, you assumed I would read the thumb nail/title and you were right.

    • @reimarpb
      @reimarpb 3 роки тому +77

      yes, no more shitty filler intros that add nothing to the video

    • @callaco3176
      @callaco3176 3 роки тому +17

      i thought the same thing, what a great video!

    • @whythosenames
      @whythosenames 3 роки тому +11

      yeah I really liked it too, I searched for that comment :)

    • @RubyPiec
      @RubyPiec 3 роки тому +5

      I love videos that tell the answer instantly, only saw 2 in my life.

    • @ha-my.
      @ha-my. 3 роки тому

      First word in the video: *Y E S*

  • @adriancadatal4125
    @adriancadatal4125 3 роки тому +409

    Next will be Skyrim. Skyrim is in anything and everything

    • @evandrochaves9596
      @evandrochaves9596 3 роки тому +38

      Doom first, then skyrim

    • @SATOTEHDOOD
      @SATOTEHDOOD 3 роки тому +6

      that would be f*cking impossible for a qr code to fit all the textures, the code, everything.

    • @tan_nerd07
      @tan_nerd07 3 роки тому +39

      @@SATOTEHDOOD Not with that attitude!

    • @HenTieGuy.
      @HenTieGuy. 3 роки тому +12

      @@SATOTEHDOOD there's always a way

    • @theviniso
      @theviniso 3 роки тому +11

      No, Skyrim is in every console. Doom is in everything.

  • @HermanDudkov-nt4vv
    @HermanDudkov-nt4vv 5 місяців тому

    I just landed accidentally here and I watch the whole video and I’m your subscriber now , dude that’s f amazing!

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

    Watched the whole video through, liked, and subscribed because he answered the question immediately

  • @RedoAll
    @RedoAll 3 роки тому +638

    For the one that cannot scanned the thumbnail QR code it says
    "Nope, this isn't the game. You'll have to watch the video for that ;)"

  • @p1neappleXD
    @p1neappleXD 3 роки тому +1431

    MattKC: "Simple code can be surprisingly economical."
    YandereDev: *THIS IS BEYOND SCIENCE.*

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

    I clicked to show respect after that little tricky you pulled in the thumbnail, good job!

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

    Love that you just answered the question instead of repeating the question

  • @sharrc
    @sharrc 3 роки тому +781

    Talk about getting to the point, no intro, no ads, nothing, straight to "YES"

  • @WeskerUmbrella4
    @WeskerUmbrella4 3 роки тому +302

    Q: "Can you fit a whole game in a QR code?"
    A: 0:00

  • @RatonLaveHeureGaming
    @RatonLaveHeureGaming 5 місяців тому +1

    "Nope, this isn't the game. You''ll have to watch the video for that ;)"
    nice

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

    I know this video is old, but I just thought I'd share some thoughts on the project. Great video, great concept and great job overall in implementing it. I absolutely love things like this.
    If you ever decide to revisit an assembly implementation, I would suggest opening up a copy of the Intel x64 software developers manual, Volume 2. It contains the full opcode reference for both x64 (in all available modes) and IA-32, including the number of bytes occupied by a given instruction. The instruction size can depend on what operands you're using with it, and thanks to their CISC architecture, some instructions can easily be substituted with others that produce a smaller machine code footprint. It may also be beneficial to look at some of the techniques used in crafting shell code, two of which I detailed here already. The name of the game in producing shell code, if you aren't familiar, is typically writing machine code with a small memory footprint, while avoiding nul-bytes -- with the smallest execve shellcode that I've seen occupying only 21 bytes. I don't want to say looking into this would definitely be helpful, since obviously Linux and Windows take vastly different stances on how to perform calls to their respective kernels.
    And obviously, as others have stated, running your compiler without assembling would be helpful, or alternatively just disassembling it with something like objdump -d (may require setting up a MinGW environment with something like msys2 -- I'm not sure).
    Then if you see any improvements to the executable after applying some handwritten optimizations to replace or modify the instructions with longer machine code output, you could apply crinkle again for compression.
    I'm not terribly familiar with development on Windows these days, but I do recall that rather than using interrupts to interface with the Win32 API, like you see on POSIX systems, you have to call the user space function which gets linked to the program, and serves as a trampoline to get to the kernel-level implementation. So I'm not sure how well that can be optimized, or if it really can at all. It would, in my opinion, be much easier to optimize on Linux (WSL2 should also handle it just fine once configured correctly), but that's just because I find development on Linux to be much less of a headache overall.
    On a side note, QR codes can definitely be used to embed malicious content -- I will have to look later, but I'm pretty sure I read an article, orr possibly a video here on UA-cam, a few years ago about overlaying malicious QR codes on top of legitimate ones (using two different sizes).
    Anyhow, great work again.

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

      @enrique amaya Do you have a moment to talk about our savior Óðinn, master of poetry, slayer of Bláinn, and overseer of the hall of the slain?

  • @Phianhcr123
    @Phianhcr123 3 роки тому +262

    Me: welp it’s gonna take a while for him to explain it
    0:00
    Me: ok that was pretty quick

    • @beaconblaster33
      @beaconblaster33 3 роки тому +1

      Lol

    • @ptsg
      @ptsg 3 роки тому

      That is legit the entire reason why I kept watching.

  • @KernelPanic0
    @KernelPanic0 3 роки тому +323

    Really putting the "code" in "QR code".

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

    I watched the first frame of the video and don't need to watch any longer, thanks!

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

    Well done!

  • @guillermo7168
    @guillermo7168 3 роки тому +360

    Title: Can you fit a whole game into a QR code?
    Second frame: *YES*
    Me: Adiós

  • @cripplebum4792
    @cripplebum4792 3 роки тому +198

    For the 0 people who asked, the QR code in the thumbnail has text saying *"Nope, this isn't the game. You'll have to watch the video for that ;)"*

    • @jmemusic
      @jmemusic 3 роки тому +7

      Spoiler, lol!
      You got a like though :-)

    • @RaggedDan
      @RaggedDan 3 роки тому +1

      The one at the end also happens to be the tragedy of Darth Plagueis the Wise

    • @link_team3855
      @link_team3855 3 роки тому

      lul

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

    Answering the question right of the bat. Am gonna continue watching now

  • @johnyx.official
    @johnyx.official 10 місяців тому

    This is the coolest start in a Video i’ve ever seen.

  • @Echozkii
    @Echozkii 3 роки тому +1267

    People after seeing this:
    Can you fit a whole virus in a QR code?

    • @kedirabdu6913
      @kedirabdu6913 3 роки тому +69

      Yup i was like someone could abuse the hell out of this by making a virus

    • @prodpurx
      @prodpurx 3 роки тому +77

      Yeah in theory it should be really easy, all you gotta do is make a tiny program that simply downloads and executes another program or additional code on launch. As for fitting an entire virus in a QR code I doubt it’s possible but maybe I’m wrong

    • @liaupikhan
      @liaupikhan 3 роки тому +38

      As long as QR scanner don't execute the data it just scanned, you got time to examine it before you decide to run it or not.

    • @prodpurx
      @prodpurx 3 роки тому +5

      Patrick Chen No yeah that’s true but a standard android QR code could probably link to some virus download and use some exploit in the android os to automatically run it (or at least hope the user opens it)

    • @nyther
      @nyther 3 роки тому +11

      * Runs around the city plaza holding a sign with a QR code *

  • @erstingo_
    @erstingo_ 3 роки тому +945

    in 20 years: can you fit a whole game on an 1TB HDD

    • @PinkeySuavo
      @PinkeySuavo 3 роки тому +58

      Yeah. I wonder how hard could nowadays game be optimized. I believe most of 3D games could be played on much weaker computers, but they know that kids will get 10k $ computers so they don't care about optimization.

    • @piotrrywczak7971
      @piotrrywczak7971 3 роки тому +40

      conclusion:
      "Sooo you can fit a whole game on only 1 TB HDD, but because of the slow write/read speed you will want to immediately start loading the whole game into RAM..."

    • @mz_emmett9023
      @mz_emmett9023 3 роки тому +6

      More like 5 years from now

    • @MelroyvandenBerg
      @MelroyvandenBerg 3 роки тому

      yeah too bad ;(

    • @Nhatanh0475
      @Nhatanh0475 3 роки тому

      @@PinkeySuavo Hope "you" could make a game and optimized it.

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

    I watched this video a while ago but this video is really good so I'll watch it again

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

    Mannnnnnn the thumbnail got me and the second thing after that was a plug to sun to you 🤣🤣🤣

  • @EricTheGrooveTrain
    @EricTheGrooveTrain 3 роки тому +151

    Title: "Can you fit a whole game into a QR code?"
    First second of video: "Yes."
    Perfect. This was extremely interesting.

    • @scrampledegg-nj1bj
      @scrampledegg-nj1bj 3 роки тому +4

      I love that it answers the question right away, immediately keeping my interest

  • @1ybr
    @1ybr 3 роки тому +84

    I love how he's starts the video with the answer and just said "yes"

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

    I really like this video so much. I find myself here every 6 months.

  • @DigitalAndInnovation
    @DigitalAndInnovation 7 місяців тому +1

    0:00 Bravo- The fact that there was not 15 minutes of Machiavellian mind games before a non-answer was formed. Better than click bait- hook line and sinker. :D

  • @TomaszDurlej
    @TomaszDurlej 3 роки тому +217

    I remember times when “C” was called “high level language” not “low level” as it called today.

    • @dannyj7716
      @dannyj7716 3 роки тому +7

      It is a high level language.

    • @strongleong3717
      @strongleong3717 3 роки тому +2

      @@dannyj7716 mid level

    • @emilianoruizcarletti9381
      @emilianoruizcarletti9381 3 роки тому +9

      I remember seeing a paper about different levels of abstraction...
      Machine code and assembly being lvl 0
      C, Pascal and Haskell being lvl 1
      C++, Objective C at level 2
      Java, C# and other JIT lvl 3
      SQL lvl 4
      Python, javascript, R at lvl 5

    • @hackerulroman
      @hackerulroman 3 роки тому +1

      @@dannyj7716 the languages released nowadays are getting higher and higher, and the level is relative so it is now a low level language, and soon c++ will become one too.

    • @hackerulroman
      @hackerulroman 3 роки тому +1

      @@JustMortHandle WHAT!!!?!?1 is that low level programming you got there??!1!? Just type make a Facebook Clone into GPT-4.... junior devs nowadays..... writing machine code instead of just learning basic english syntax LOL!
      -r/ProgrammerHumor's best joke in 2030

  • @SalC1
    @SalC1 3 роки тому +41141

    This was the most interesting video I've watched in a good while You need more subscribers.

    • @oskarzyg
      @oskarzyg 3 роки тому +515

      Agreed! I hope you are having fun with the pack.png project!

    • @thousandsofclowns
      @thousandsofclowns 3 роки тому +621

      Interesting to find Sal here.

    • @WeGoToMars
      @WeGoToMars 3 роки тому +76

      Hello man, good that you are here!

    • @xt2607
      @xt2607 3 роки тому +78

      Oh hey SalC!

    • @ianhornblower7358
      @ianhornblower7358 3 роки тому +42

      Hi say
      ps. You should shout him out

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

    I love that the QR code at the start is a subscribe link.
    Good hustle!

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

    Imagine... Doom in a QR

  • @ifsmez
    @ifsmez 3 роки тому +490

    You fixed an open source bug, this whole project was worth it in my book.

    • @altermetax
      @altermetax 3 роки тому +10

      But did he submit a push request?

    • @WolfyRed
      @WolfyRed 3 роки тому

      387 like
      nicde

    • @WeirdDuck781
      @WeirdDuck781 3 роки тому

      Line ending issues has been my biggest troll this year and I'm even counting Covid..

  • @saqibmudabbar
    @saqibmudabbar 3 роки тому +249

    Plot twist: His game was too large cause of all the malware he encoded and didn't tell us.

    • @blablabla798
      @blablabla798 3 роки тому +2

      WHAT

    • @rugerdie4054
      @rugerdie4054 3 роки тому

      Could you use a QR code to upload a Virus perhaps? 🤖🦠

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

    You had me at "I'm going to write this in assembly"

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

    Hey Matt! This has to be the most inspiring videos on UA-cam I have ever watched!! So Cool. I dont remember if I saw such a cool thing ever on the internet. BTW I am a software engineer, but you sir are, GENIUS!

  • @rzovlogs
    @rzovlogs 3 роки тому +239

    “You can technically, store malware in QR”
    SHHHH DONT GIVE THEM IDEAS THIS COULD BE HORRIFIC😂

    • @Scratchfan321
      @Scratchfan321 3 роки тому +10

      *2020 would like to know your location*

    • @Almamu
      @Almamu 3 роки тому +4

      We already did that to hack the 3DS, the first exploit discovered was in a game that read QR codes for something specific

    • @pilotx3mm420
      @pilotx3mm420 3 роки тому +3

      @@Almamu "We"

    • @vexvesper
      @vexvesper 3 роки тому

      @@Almamu didn't know that

    • @rahishnamikaze1516
      @rahishnamikaze1516 3 роки тому

      Late it's already out

  • @grenzviel4480
    @grenzviel4480 3 роки тому +370

    The only thing I learned from this is: don't mindlessly scan QR codes with your phone

    • @WeiFinder
      @WeiFinder 3 роки тому +31

      Ikr.. that was an "oh" moment for me. A waitress told me to scan a code for the menu the other day, that sticker would be super easy to replace...

    • @recursiv
      @recursiv 3 роки тому +37

      This isn't really a reason not to. A QR scanner would never automatically execute the result as a binary, unless it was specifically made for that purpose.

    • @WeiFinder
      @WeiFinder 3 роки тому +8

      @@recursiv So thee QR code scanners in most phones wouldn't run malware for example?

    • @theseangle
      @theseangle 3 роки тому +18

      @@WeiFinder no, but you know, there are a lot of broken even ASCII characters, so who knows, it can potentially just brick ur phone if you are "really lucky"

    • @tracklizard4018
      @tracklizard4018 3 роки тому +8

      I've never scanned a QR Code but one of the biggest reasons is third party vulnerability. For instance, your bank might be stupid enough to allow qr code purchase which would mean you scan a qr code and your bank reads that as transaction complete. This example is really stupid but you get the point.

  • @fusifase20
    @fusifase20 7 місяців тому

    Omg the opening are so damn refreshing 😂

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

    Nice job with the QR code at the thumbnail, you got me there.