Coding TETRIS in 3 Minutes

  Рет қаралды 9,873

Divine203

Divine203

Күн бұрын

Пікірлер: 36
@HerrDoktorWeberMD
@HerrDoktorWeberMD Жыл бұрын
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
@divine203 Жыл бұрын
Agreed. 💯
@brockm2263
@brockm2263 10 ай бұрын
i aint even gonna pretend i can understand this at that speed
@divine203
@divine203 10 ай бұрын
Lol, u can try running the source code, makes more sense when you see it in action
@clarisrichter7966
@clarisrichter7966 11 ай бұрын
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
@Freeze-2222 Жыл бұрын
This is the most chaotic coding video I have ever seen lmao.
@bluetoad07
@bluetoad07 3 ай бұрын
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
@gaargant Жыл бұрын
guy makes god tier quality videos
@hd-bild1513
@hd-bild1513 10 ай бұрын
This video summaries more or less half of my first ever programming course at uni lol
@imnotparkour
@imnotparkour 22 күн бұрын
I spent half years making unix c console srs tetris, and this video just summed up my entire bullshit codes in 3 mins GG
@divine203
@divine203 22 күн бұрын
that's quite impressive too, props to you
@nakcy
@nakcy Жыл бұрын
quality content
@stickmanland
@stickmanland Жыл бұрын
Underrated channel. 794 subs? lemme change that!
@divine203
@divine203 Жыл бұрын
Thanks a bunch ♥️
@GameCookDev
@GameCookDev Жыл бұрын
I see you've used the gerarra hea at the end of the video, amazing😂
@divine203
@divine203 Жыл бұрын
😅 Thanx for letting me borrow it
@zervidas
@zervidas 3 ай бұрын
Why not try p5js
@divine203
@divine203 3 ай бұрын
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 :)
@netking767
@netking767 3 ай бұрын
subbed
@PaulMountney
@PaulMountney 11 ай бұрын
Ok, now for those of us like myself who cannot code at lightning speed, please make another where we can actually follow along. 😂
@divine203
@divine203 11 ай бұрын
Got it. I'll make the next one twice as fast
@imaadhaq540
@imaadhaq540 Жыл бұрын
2:34 why else if spam
@mebestupid7134
@mebestupid7134 Жыл бұрын
The processing time difference between if and switch statements is pretty much nonexistant when you're using 7 conditions
@christianchung9412
@christianchung9412 Жыл бұрын
why braindead anti else if spam
@imaadhaq540
@imaadhaq540 Жыл бұрын
@@christianchung9412 I say it once!
@imaadhaq540
@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
@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.
@Rector-ku5no
@Rector-ku5no 11 ай бұрын
I did in 1 second
@Exotic69420
@Exotic69420 Жыл бұрын
pro
@roletds2227
@roletds2227 Жыл бұрын
W
Running "Hello World!" in 10 FORBIDDEN Programming Languages
18:07
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
The Genius Way Computers Multiply Big Numbers
22:04
PurpleMind
Рет қаралды 326 М.
How to Reprogram Tetris By Playing It - Behind the Code Leveled Up
31:58
Displaced Gamers
Рет қаралды 79 М.
I made Tetris in C, this is what I learned
15:15
Austin Larsen
Рет қаралды 31 М.
Can You Always Win a Game of Tetris?
6:33
Spanning Tree
Рет қаралды 520 М.
Coding CHESS in 6 Minutes
6:17
Divine203
Рет қаралды 8 М.
The Most Brutal Loss in Classic Tetris History
17:55
aGameScout
Рет қаралды 201 М.
Fixing the REALTIME terrain shadows using YOUR suggestions!
8:40
Barney Codes
Рет қаралды 72 М.
I Made The Ultimate Cheating Device
9:39
ChromaLock
Рет қаралды 1,9 МЛН
What's The Best Tetris? Weird Tetris Games
9:19
Tad I Guess
Рет қаралды 21 М.
Coding Adventure: Rendering Text
1:10:54
Sebastian Lague
Рет қаралды 840 М.