1000 Players - One Game of Doom

Поділитися
Вставка
  • Опубліковано 12 чер 2024
  • Twitch
    Everything is built live on twitch
    Twitch : bit.ly/3xhFO3E
    Discord: discord.gg/ThePrimeagen
    Spotify DevHour: open.spotify.com/show/4MLaDrQ...
    Editor
    / flipmediaprod
    x.com/stxssx
    Join this channel to get access to perks:
    / @theprimeagen
    Links
    Linode: linode.com/prime
    / discord
    Twitch: / theprimeagen
    Insta: / theprimeagen
    Twitter: / theprimeagen
    VimRC & i3: github.com/ThePrimeagen/.dotf...
    Keyboard 15% off bit.ly/Prime360 USE CODE PRIME360
    #coding #neovim #typescript #programming #vim #softwareengineering #codinglife #webdesign #webdevelopment #webdev #javascript #rustlang #rust #twitch #twitchstreamer #programmerhumor #codinghumor #software #softwareengineer #softwaredeveloper #softwaredevelopment
  • Наука та технологія

КОМЕНТАРІ • 750

  • @ThePrimeagen
    @ThePrimeagen  11 днів тому +854

    Hey. First video going full time. I hope you liked it. Part of me always feels I could do better :)

    • @ThePrimeagen
      @ThePrimeagen  11 днів тому +109

      But seriously name your first kid after me

    • @jamonh
      @jamonh 11 днів тому +51

      @@ThePrimeagenOkay I’ll change Cedric’s name to The

    • @jamonh
      @jamonh 11 днів тому +6

      But seriously, fantastic work! This was very entertaining to watch, and great editing too!

    • @FinalEyes777
      @FinalEyes777 11 днів тому +2

      ​@@ThePrimeagen James, the name, Primeagen it is. it'll work out great in future apocalyptic scenarios where in the absence of Duke Nukem, James Primeagen will have to step in to kick some ass and chew bubble gum.

    • @nuclearsmilz
      @nuclearsmilz 11 днів тому +1

      ah!! that was what was different! I love it!!

  • @TheCodingSloth
    @TheCodingSloth 12 днів тому +845

    Flip went crazy with the editing 11/10 video

    • @ThePrimeagen
      @ThePrimeagen  12 днів тому +96

      Not as good as yours though. Yours are spectacular

    • @user-pg9xo2ts5v
      @user-pg9xo2ts5v 12 днів тому +17

      Except for the 1 that goes to the A instead of the B and took me 5 second to think why A is 01 and B is 0 😂🩵

    • @vaisakhkm783
      @vaisakhkm783 12 днів тому +2

      Hey, it's the flip, things might flip...

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

      @@user-pg9xo2ts5v Yup, saw that too :D

    • @trontrontrontron4
      @trontrontrontron4 12 днів тому +3

      flip is flipping out, this video was amazing :D

  • @Koroistro
    @Koroistro 12 днів тому +1009

    Prime is doing everything in his power to become a game dev without having to claim that he's doing game development.
    He will fail, Thor will corrupt him.
    A game jam is getting ever closer, prepare for ligma.

    • @ThePrimeagen
      @ThePrimeagen  12 днів тому +362

      I have been so thoroughly ligma'd that I can no longer tell the difference between web dev and game Dev
      Mostly due to balls of course, on the face

    • @Kane0123
      @Kane0123 12 днів тому +10

      @@ThePrimeagenascii doom using js confirmed?

    • @xregularxjohnx
      @xregularxjohnx 12 днів тому +2

      whats ligma?

    • @AmonAsgaroth
      @AmonAsgaroth 12 днів тому +12

      @@xregularxjohnx steve jobs

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

      @@xregularxjohnx ligma balls

  • @Simiaaaa
    @Simiaaaa 12 днів тому +362

    F for the grass that wasn't touched during this project 🫡

    • @blarghblargh
      @blarghblargh 12 днів тому +16

      The best engineers never see a blade. Big beard, no tan, sporks only.

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

      Only quiche eaters touch grass

  • @gabboman92
    @gabboman92 12 днів тому +772

    what a weird dougdoug video

    • @lifeisfakenews
      @lifeisfakenews 12 днів тому +36

      Yh this guy has hair

    • @mtarek2005
      @mtarek2005 12 днів тому +4

      yeah

    • @emil.techno
      @emil.techno 12 днів тому +15

      he's oddly not BALD

    • @anto_fire8534
      @anto_fire8534 11 днів тому +34

      - not bald
      - can code
      - doesn't have chatters in his basement
      this might be the long lost ougdoug

    • @Ryuuzaki145
      @Ryuuzaki145 11 днів тому +3

      Damn, dougdoug changed

  • @doperykidders
    @doperykidders 12 днів тому +127

    This is what Prime means when he says "go build fun projects" lol.

    • @zill_laiss
      @zill_laiss 11 днів тому +9

      right, he sure did 'go build' a lot during that time

  • @zacharymonroe94
    @zacharymonroe94 11 днів тому +52

    Netflix lost an employee so we could gain a legend - truly top tier content sir.

  • @MikkoRantalainen
    @MikkoRantalainen 12 днів тому +141

    6:00 If you start throwing away bits from color information, always keep most bits for green because human eye is the most sensitive to lightness levels of green color. Always sacrifice blue color bits first, then red and only finally green.

    • @redneckcoder
      @redneckcoder 12 днів тому +2

      What is are these colors? There is only gray, yellow and blue.

    • @kneesnap1041
      @kneesnap1041 11 днів тому +16

      Ohhh I always wondered why I've seen RGB565 encoding but never RGB655 or RGB556. Thanks!

    • @arcaneminded
      @arcaneminded 9 днів тому +2

      The thing about "Always" is that there are always exceptions to the Always. Even this sentence.

    • @kneesnap1041
      @kneesnap1041 9 днів тому +3

      @@arcaneminded if this is how you treat words then there's no utility in having a word called "always", which is why I think this kind of thinking isn't very useful

    • @giantnoah
      @giantnoah 9 днів тому +6

      Even better, doom uses a limited set of 8 bit color palettes so you can get perfect color encoding in 1 byte per pixel.

  • @mitchierichie
    @mitchierichie 12 днів тому +49

    Quitting your job was definitely the right move. This video would not have gotten made otherwise

  • @boraatay1839
    @boraatay1839 12 днів тому +174

    I don't normally make comments but man this video is beyond amazing. The production quality, all the engineering information and how it is put out even someone never programmed his life could easily follow plus Prime being an amazing entertainer as always apart from being a kick-ass-do-it-yourself-hands-on coder/engineer. And joy in his eyes through it all. Man is living his best life.

    • @caseygruman7245
      @caseygruman7245 11 днів тому +1

      I fee the same!

    • @pallekjrlaursen8388
      @pallekjrlaursen8388 11 днів тому

      Totally, even for someone like myself hovering around the "FizzBuzz" / "Leap Year Calculation" level of programming, this was a really interesting video.

    • @datboi1861
      @datboi1861 11 днів тому +1

      It's my ambition to be as cracked as Prime one day.

    • @ignrey
      @ignrey 11 днів тому +1

      Programming is really easy to follow, what is hard is getting creative with algorithm. Crafting solutions it's hard af.

    • @stevenox3383
      @stevenox3383 11 днів тому +1

      Echoing this, he definitely has a talent for taking low level concepts and showing how they can be applied in practical ways, while keeping things super entertaining and informative!

  • @pacinpm2
    @pacinpm2 11 днів тому +28

    Doom was using 13h VGA mode which is a 256 colours palette mode. You could use this pallet directly instead of your own conversion to 1 byte. This way you don't lose any colours.
    Also if you Huffman encode blocks longer than 1 byte you could target patterns of colours from textures and potentially achieve greater compression.

  • @RedstonekPL
    @RedstonekPL 12 днів тому +97

    4:52 yeah i see that `uuwwUU`

  • @SnowTheParrot
    @SnowTheParrot 12 днів тому +88

    Prime: GigaChad SWE
    Flip: GigaChad Editor
    Team: GigaChad

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

      Chat: Degenerates

  • @theopomies
    @theopomies 12 днів тому +72

    Hope the $EDITOR got payed handsomely cause that shit looks gud

  • @donko3005
    @donko3005 12 днів тому +35

    The point of doing fucking XOR operations is mind-blowing for compression
    Amazing

    • @nullbeyondo
      @nullbeyondo 11 днів тому +4

      Yeah, I was like, what's the point or how'd it compress shit? But then if the xor'd frame can construct the 2nd frame because it is mostly similar to it (repetitive pixel colors between frames for example!) and thus it mostly produces zeroes except the changed pixels... whao, it all clicked.

  • @ThornOnARose
    @ThornOnARose 12 днів тому +54

    The work put into this video is astounding. So happy to see Primeagen closer to where he wanted to be so long ago.

  • @KaidenMikami
    @KaidenMikami 12 днів тому +64

    Amazing editing, amazing pacing and amazing explanation. Another pristine jewel from the development side of youtube.

  • @starmechlx
    @starmechlx 11 днів тому +11

    If this is the quality of stuff we're going to get moving forward, this channel is gonna get huge.

  • @V.gara_
    @V.gara_ 12 днів тому +16

    Mustache man… I gotta say you really are the reason I stay inspired to code and continue to pursue the deeper understandings of development.
    The combination of pure unadulterated knowledge & passion for what you do is so inspiring. I’m already 2 months in using NeoVim becoming blazingly fast, finally able to sit still at my computer for 5+ hours & I now wake up everyday giddy knowing I GIT(😅) to learn more.
    I’m sure you hear this all the time, but you’ve truly saved my life. Thank you.

  • @Fazal828
    @Fazal828 12 днів тому +16

    What an incredibly informative and entertaining video! This is exactly what I was hoping for when you became a full time streamer :D

    • @ThePrimeagen
      @ThePrimeagen  11 днів тому +12

      I think the next will be better

  • @Carhill
    @Carhill 12 днів тому +13

    I think that's the best audio-visual explanation of an XOR operation I've seen.
    Great project and video. Thanks for sharing!
    Also, I loved the Yugioh lifepoint sound/animation you did for the counts.

  • @Arillaxe
    @Arillaxe 12 днів тому +34

    12:12 The first bit for B went to previous A

    • @inowatchvideos
      @inowatchvideos 12 днів тому +3

      It also confused me and i did a rewind. I believe it’s for 8 bits per line to look nice.

    • @honeybunz3416
      @honeybunz3416 11 днів тому +1

      Came here to say this as well. Since your message is already here, I'll like instead.

    • @poweruser64
      @poweruser64 11 днів тому +1

      I think the 1 on the end of the first line is supposed to be before it, it's even animated like it should be there.

    • @the_briansparks
      @the_briansparks 4 дні тому

      This confused me as well, especially because prime specifically states that the same characters can never have different values, and yet on the screen that's *exactly* what's happening. I had to go back and rewind and figure it out and rewatch to learn.

    • @mxmstrj
      @mxmstrj 9 годин тому

      Came to point out the same.. cool to see Huffman tree encoding in use

  • @tomaintaround
    @tomaintaround 12 днів тому +30

    The compression part is pretty interesting

  • @jonathanmarler5808
    @jonathanmarler5808 12 днів тому +5

    DOOM renders into a 320x200 8-color bitmap. This means the colors DOOM actually renders already fit into 8 bits. It would be super easy to compile DOOM and make this framebuffer available to your compression stage.

  • @jhonny6382
    @jhonny6382 12 днів тому +8

    this is peak programming content, Flip did something amazing in this ones

  • @soulwynd
    @soulwynd 5 днів тому +2

    You gave me a blast from the past here. I used to program muds on the 90s and 2000s and my main bottle neck was bandwidth for hosting my game. I had to compress streams and use a lot of terminal hacks to get my ASCIi maps to work fast. I could even play videos on the terminal in ASCIi all with low bandwidth and gzip compression.

  • @Lol..No.
    @Lol..No. 12 днів тому +7

    This is rad. I love the walkthrough of it all. 1000% need more of this.

  • @CrunchyBuncher
    @CrunchyBuncher 12 днів тому +20

    the quality of this video is unlike anything you've made before! Amazing!

  • @daltonyon
    @daltonyon 12 днів тому +25

    It's the best creative video!!! DOOM was a great journey and a big challenge, duplicate characters, xor, huffman first try, and a lot of golang content!!
    Congratulations, this was a new step in your creation content!!!
    LET'S GOOOOOOO BABY!!!

  • @lilninja666
    @lilninja666 12 днів тому +46

    4:55 "Does anything stand out to you"
    uuwwUU - oh god mistakes were made

  • @sunkittsui7957
    @sunkittsui7957 11 днів тому +3

    That XOR frame compression technique is so cool! Really made me to start thinking about more good use cases for XOR. Good content as always, you are one of the biggest inspirations in my programming journey.

  • @scottmuangsrichan9423
    @scottmuangsrichan9423 12 днів тому +11

    This style of video is awesome! Thanks for this

  • @einargs
    @einargs 11 днів тому +1

    This is so awesome. I'm really glad you can spend more time on projects like this!

  • @lolplayerlolz
    @lolplayerlolz 12 днів тому +6

    This was an amazing video really liked the graph showing the data saved when using different compression methods!

  • @santiagoavalos3637
    @santiagoavalos3637 12 днів тому +9

    I love how this guy's brain work

  • @borjalorenteescobar3256
    @borjalorenteescobar3256 12 днів тому +2

    This is amazing, thanks for going full time to produce this sort of content :)
    In-depth, yet quick and snappy

  • @tedm8492
    @tedm8492 12 днів тому +31

    This is absolutely freaking incredible.

    • @perc-ai
      @perc-ai 12 днів тому +1

      this is why we listen to Primagen and not Theo

    • @TheStickofWar
      @TheStickofWar 12 днів тому +3

      This is applied computer science

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

      @@TheStickofWar and it doesn’t make it any less incredible

  • @hojirick
    @hojirick 12 днів тому +2

    Hi Prime, I wanted to say Iam so incredibly proud f you for accomplishing this with twitch. Making the plunge into content creation I'm sure was crazy and scary, but you deserve all of the accolades validation for all of your hard work. We love you and your content so much! please don't stop!

  • @PTangeLWoW
    @PTangeLWoW 12 днів тому +2

    IMO the best video I saw from you mate, well done. I really enjoy watching all your videos, but this one and the ones you made with this journey was really amazing! keep up the good work.

  • @d9kd9k
    @d9kd9k 8 днів тому +1

    12:32 "A" 4th in 1st row: seems must be 0 to. "B" 1st in 2nd row: seems must be 10

  • @hierax49
    @hierax49 12 днів тому +3

    great editing and explanation, makes me excited to program again

  • @slimsh4dy115
    @slimsh4dy115 12 днів тому +4

    12:15
    Here, the value for 2nd A gets mixed up with that of 2nd B.
    threw me for a loop

    • @RedstonekPL
      @RedstonekPL 12 днів тому +1

      yeah it's getting mixed up so the bits add up to a byte
      i thought it was an error at first as well but nah, it was on purpose

  • @giriw206
    @giriw206 11 днів тому

    Thank you for the summary. Watching the stream only gives me a glimpse of the extensive work you do.

  • @alexaustin6961
    @alexaustin6961 11 днів тому

    This is the perfect kind of video for this channel! Larger and super interesting projects that you enjoy. You also can create these naturally as a byproduct of building the project anyways, so you don't have to feel forced to create a video for no reason. Great job man!

  • @IlyesCodes
    @IlyesCodes 9 днів тому

    Best video so far of the primeagen, the amount of optimization put on the project no wonder the dude worked successfully for 10 years at netflix as backend engineer this is so motivational

  • @marlonmarcello
    @marlonmarcello 11 днів тому

    Congrats Prime!!! This is awesome and I can't wait for more stuff like this.

  • @cagataykaydr3015
    @cagataykaydr3015 12 днів тому +2

    Oh man, I just love this new format Prime! Keep going, you're being a great mentor and a rolemodel because you are always on the path of learning new things, you couldn't even imagine how I feel man :) Keep going, all respects from Turkey

  • @nikarmotte
    @nikarmotte 11 днів тому

    I have to say this video was very high quality, educational and entertaining too.
    It looks like you had a lot of fun working on this.

  • @kidpitch
    @kidpitch 12 днів тому +1

    This was a fantastic vid man. What a fun project. I remember writing Huffman and RLE in college and this was really nostalgic.

  • @Datalata
    @Datalata 11 днів тому +1

    This is super work all round and the perfect UA-cam content. Fascinating computer science, history, and project planning. Lovely editing. Superbly presented. Everything else today is going to suffer in comparison.

  • @1000_Gibibit
    @1000_Gibibit 11 днів тому

    An encode/decode stack is one of those things I just gotta implement sometime. So useful! For a second I didn't understand what was going on with the min-heap but it all came together in the end. Great way to make a fun video educational too, thanks Primeagen.

  • @bigred8982
    @bigred8982 11 днів тому

    Seeing a wonderfully edited video like this from you was such a treat!

  • @AntonLukas
    @AntonLukas 11 днів тому

    Fantastic video, my dude. Can't wait to see what you are going to get up to next!

  • @Griffin519x
    @Griffin519x 11 днів тому

    This was an awesome breakdown of what you did and great editing. I didn’t catch every stream so this was nice

  • @hypergraphic
    @hypergraphic 12 днів тому +1

    This was such a great video! Props to Flip on the editing.

  • @apIthletIcc
    @apIthletIcc 9 днів тому +1

    Gotta admit, it was today that I finally fully understood XOR lol
    Also thanks for this... really helped me come to a breakthrough with reverse engineering some stuff. Basically been trying to figure out the cause of some corrupted frames in UA-cam videos and now I can see why it's happening but now I need to figure out why it's only on certain videos, and only when using certain phones. New phone doesn't get the corrupt frames, but three previous phones I had do get them. One of the new and one of the old are the exact same device model, under different carriers. And the corrupt frames, they only occur on the three old ones when on WiFi. I tried a different wifi router, and it doesn't happen.
    I had a compromised router! [ISP redacted] might have an announcement to make soon..

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

    Incredible mr.Prime !! Such amazing things and this is absolutely inspired. Keep up the good work. Thanks!

  • @sappukei3618
    @sappukei3618 11 днів тому

    Vim tier editor. Happy to be part of Prime becoming a full time content creator!

  • @mendelevium6943
    @mendelevium6943 11 днів тому

    that's so awesome dude, amazing work!!

  • @m1thrandir
    @m1thrandir 12 днів тому +10

    amazing editing

  • @tankmohit
    @tankmohit 12 днів тому +1

    Loved this video, I would like to see more breakdown videos like this one. Awesome.

  • @dusanpunosevac7348
    @dusanpunosevac7348 11 днів тому

    This is why I became the engineer! Got me goosebumps just by watching the video and how every iteration lowers the line on the graph.

  • @jacoboaristizabal979
    @jacoboaristizabal979 11 днів тому

    the quality of the video is insane the narrative, the edition, the composition. So this is how a full time video feels like, awesome job 👍

  • @ttrev007
    @ttrev007 10 днів тому

    I finally understand the XOR encoding. your explanations of the compressions you used are really clear. thank you for the help. the actual application really cemented it for me

  • @re_detach
    @re_detach 6 днів тому

    0:09:07 thank you for re-explaining how XOR has memory; I didn't get it the first few times you mentioned that but this video really helped solidify that concept!

  • @Haagimus
    @Haagimus 12 днів тому +1

    Bro! This video resonates with me as an engineer so much! I love reinventing the wheel because it's just fun sometimes. Great stuff brother keep it coming!👍🏻

  • @himalczyk258
    @himalczyk258 11 днів тому

    Just amazing, greatly edited and also, great explanations of the topics along the way. Great editing, great explanations, great video. Nice! Keep it rolling!
    Thats a rare programming topic video explanation I literally watched like magically hypnotized to not even look away for a second. amazing.

  • @Yes-bm4vn
    @Yes-bm4vn 10 днів тому

    So much knowledge compressed into a single video and it was very captivating and entertaining, I love it!

  • @Zuranthus
    @Zuranthus 16 годин тому +1

    Prime loves to act like he doesn't know what he's doin then comes out with this 1 month into gamedev journey

  • @mindgamesnl
    @mindgamesnl 12 днів тому +2

    editing went crazy, absolutely love it

  • @drovdev
    @drovdev 10 днів тому

    Amazing video, the work you put in really is inspiring.
    Keep up the good work !

  • @equinox4467
    @equinox4467 12 днів тому +2

    Very well edited video 👍 well done Flip.

  • @peculiar-coding-endeavours
    @peculiar-coding-endeavours 12 днів тому

    This was absolutely great. Love to see more videos like these!

  • @skrzym1
    @skrzym1 11 днів тому

    Absolutely loved this, and I learned something! 👏🏻Keep rockin' man.

  • @bastiyang
    @bastiyang 11 днів тому

    good step up with the edition! had lots of fun

  • @yyvan5125
    @yyvan5125 11 днів тому

    This was so cool! Great job Prime!

  • @tabre_
    @tabre_ 5 днів тому

    This was one of the coolest "Why? Because I can" projects I've ever seen.

  • @Kyle-sn2fu
    @Kyle-sn2fu 11 днів тому

    Really neat project and the video was well done--I love your work!

  • @dimitardimitrov3421
    @dimitardimitrov3421 11 днів тому

    The video is amazing! The editing is next level! Keep up the good work Prime! ❤

  • @dibyajyotighosh4356
    @dibyajyotighosh4356 11 днів тому

    Loved the video prime. You know the video is good, when you get inspired to cook it up on your own .

  • @simonabunker
    @simonabunker 11 днів тому

    The graphics and animations in this video were really a step up. Nice work!

  • @mrmaniac9905
    @mrmaniac9905 11 днів тому

    Love the new video format!

  • @TheShynamo
    @TheShynamo 8 днів тому

    The guideline, the editing, the explanations m, everything was absolutely great.
    Loved that video, please make more of that kind of content !

  • @crosdale
    @crosdale 11 днів тому +1

    Learnt more in 15 mins than in any other coding video ever.
    I love this format!

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

    Just wanna say I love this content, showing your skills and explaining what is being done. You're awesome my guy

  • @JordanHershberger
    @JordanHershberger 12 днів тому +1

    Love this style of video! Great job Prime!

  • @reconmaster907
    @reconmaster907 11 днів тому +1

    You actually Explained huffman encoding pretty well. Good work.

  • @SnowTheParrot
    @SnowTheParrot 12 днів тому +26

    Turned out great Prime.
    Only a small percentage of your Twitch followers understood how hard this was.
    One of the best streaming devs on Twitch/YT no doubt.

  • @Whatthetrash
    @Whatthetrash 12 днів тому +1

    The production value of this video is nuts! Nice work, Primeagen! :)

  • @LMusicTW
    @LMusicTW 12 днів тому +2

    nice EDITING dude

  • @billrice3307
    @billrice3307 12 днів тому +1

    One of the best tech UA-cam videos I’ve watched in a long time.

  • @juandig
    @juandig 11 днів тому

    Great editing, love it

  • @scartheredd
    @scartheredd 11 днів тому

    Pure gold, love your content, this is my fav so far.

  • @saymehname
    @saymehname 11 днів тому

    This is a great video. Well edited

  • @francoisrobbertze
    @francoisrobbertze 11 днів тому

    Awesome video Flip!

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

    This was actually insane in terms of optimisation. Learned a lot. THX

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

    Loved this! I wish we had more high quality educational videos like this

  • @TurtleFul
    @TurtleFul 11 днів тому +1

    Sick editing. Great content. Gamedev Prime

  • @MarianoBillinghurst
    @MarianoBillinghurst 11 днів тому

    Amazing video, amazing idea, amazing teaching, amazing editing and amazing entertainer. Amazing job bro !

  • @insydian
    @insydian 11 днів тому

    Love the video. Glad to see a new video