been seeing a whole bunch of "tetris from scratch" videos in my feed lately, this is an awesome exercise for programming, especially if you wanna learn to make games from scratch.
@divine203 Жыл бұрын
Agreed. 💯
@brockm226310 ай бұрын
i aint even gonna pretend i can understand this at that speed
@divine20310 ай бұрын
Lol, u can try running the source code, makes more sense when you see it in action
@clarisrichter796611 ай бұрын
I've made countless grid based puzzle games over the past few years, but I've never really paused for a second to figure out how Tetris would be built. This video literally summed it up perfectly in 3 minutes.
@Freeze-2222 Жыл бұрын
This is the most chaotic coding video I have ever seen lmao.
@bluetoad073 ай бұрын
i am learning c currently, as well as how to make a game without an engine. i thought tetris would be a great exercise, and this video is perfect for giving me a rough idea of what i should be doing without telling me exactly what to write. thank you!!
@gaargant Жыл бұрын
guy makes god tier quality videos
@hd-bild151310 ай бұрын
This video summaries more or less half of my first ever programming course at uni lol
@imnotparkour22 күн бұрын
I spent half years making unix c console srs tetris, and this video just summed up my entire bullshit codes in 3 mins GG
@divine20322 күн бұрын
that's quite impressive too, props to you
@nakcy Жыл бұрын
quality content
@stickmanland Жыл бұрын
Underrated channel. 794 subs? lemme change that!
@divine203 Жыл бұрын
Thanks a bunch ♥️
@GameCookDev Жыл бұрын
I see you've used the gerarra hea at the end of the video, amazing😂
@divine203 Жыл бұрын
😅 Thanx for letting me borrow it
@zervidas3 ай бұрын
Why not try p5js
@divine2033 ай бұрын
i have actually, its a great library, simplifies most of the stuff canvas does. I guess its just more satisfying to me to write in proper canvas, perhaps to flex the "from scratch" badge :)
@netking7673 ай бұрын
subbed
@PaulMountney11 ай бұрын
Ok, now for those of us like myself who cannot code at lightning speed, please make another where we can actually follow along. 😂
@divine20311 ай бұрын
Got it. I'll make the next one twice as fast
@imaadhaq540 Жыл бұрын
2:34 why else if spam
@mebestupid7134 Жыл бұрын
The processing time difference between if and switch statements is pretty much nonexistant when you're using 7 conditions
@christianchung9412 Жыл бұрын
why braindead anti else if spam
@imaadhaq540 Жыл бұрын
@@christianchung9412 I say it once!
@imaadhaq540 Жыл бұрын
@@mebestupid7134 He already has the data stored inside the object and is literally just using the statements to index. neither an if nor a switch would be optimal. It is faster and shorter to just return this.pieces[type] or to just use that instead of having a function
@divine203 Жыл бұрын
@@imaadhaq540 lol...funny enof until like a day ago, I didn't know accessing object properties using a variable as a key, was actually a thing in JS. Your right `return this.pieces[type]` is a more concise way to do it.