Coding TETRIS in 3 Minutes

  Рет қаралды 8,880

Divine203

Divine203

Күн бұрын

Пікірлер: 34
@brockm2263
@brockm2263 7 ай бұрын
i aint even gonna pretend i can understand this at that speed
@divine203
@divine203 7 ай бұрын
Lol, u can try running the source code, makes more sense when you see it in action
@HerrDoktorWeberMD
@HerrDoktorWeberMD 9 ай бұрын
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 9 ай бұрын
Agreed. 💯
@clarisrichter7966
@clarisrichter7966 8 ай бұрын
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 9 ай бұрын
This is the most chaotic coding video I have ever seen lmao.
@bluetoad07
@bluetoad07 9 күн бұрын
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!!
@hd-bild1513
@hd-bild1513 7 ай бұрын
This video summaries more or less half of my first ever programming course at uni lol
@gaargant
@gaargant 9 ай бұрын
guy makes god tier quality videos
@GameCookDev
@GameCookDev 9 ай бұрын
I see you've used the gerarra hea at the end of the video, amazing😂
@divine203
@divine203 9 ай бұрын
😅 Thanx for letting me borrow it
@stickmanland
@stickmanland 9 ай бұрын
Underrated channel. 794 subs? lemme change that!
@divine203
@divine203 9 ай бұрын
Thanks a bunch ♥️
@nakcy
@nakcy 9 ай бұрын
quality content
@zervidas
@zervidas 29 күн бұрын
Why not try p5js
@divine203
@divine203 29 күн бұрын
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 :)
@PaulMountney
@PaulMountney 9 ай бұрын
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 9 ай бұрын
Got it. I'll make the next one twice as fast
@Rector-ku5no
@Rector-ku5no 8 ай бұрын
I did in 1 second
@netking767
@netking767 25 күн бұрын
subbed
@Exotic69420
@Exotic69420 9 ай бұрын
pro
@imaadhaq540
@imaadhaq540 9 ай бұрын
2:34 why else if spam
@mebestupid7134
@mebestupid7134 9 ай бұрын
The processing time difference between if and switch statements is pretty much nonexistant when you're using 7 conditions
@christianchung9412
@christianchung9412 9 ай бұрын
why braindead anti else if spam
@imaadhaq540
@imaadhaq540 9 ай бұрын
@@christianchung9412 I say it once!
@imaadhaq540
@imaadhaq540 9 ай бұрын
@@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 9 ай бұрын
@@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.
@roletds2227
@roletds2227 9 ай бұрын
W
Fixing the REALTIME terrain shadows using YOUR suggestions!
8:40
Barney Codes
Рет қаралды 71 М.
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 62 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 88 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 145 МЛН
I made NES Tetris EVEN FASTER
12:07
fractal161
Рет қаралды 47 М.
"Hello, World" in 5 CURSED languages that no one should use
13:08
Dreams of Code
Рет қаралды 553 М.
I Made RGB Tetris with just Redstone!
20:36
mattbatwings
Рет қаралды 188 М.
What is the Smallest Possible .EXE?
17:04
Inkbox
Рет қаралды 484 М.
Making pop rocks from scratch (is complicated)
29:42
NileBlue
Рет қаралды 3,5 МЛН
I programmed a PlayStation 1 game engine
11:52
Bandwidth
Рет қаралды 85 М.
First PC Building Experience
24:36
Bog
Рет қаралды 1 МЛН
Coding CHESS in 6 Minutes
6:17
Divine203
Рет қаралды 7 М.
I tried to make Tetris in Scratch
17:42
Xenon Neko
Рет қаралды 148 М.
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 62 МЛН