[ASMR Programming] Tetris Game - No Talking

  Рет қаралды 97,626

Cozy Coding

Cozy Coding

Күн бұрын

hello. 🙌 I'm working on a making challenge to create one web, app, or game per week with HTML, CSS, and JS.
This video is Tetris Game.
This Tetris game has a drop function and a ghost function.
If there's something you'd like me to create, such as a website, component, or game, let me know in the comments.
I made a demo page where you can check the code in the video.
You can check the source code and images.
🔸 my web site: cozy-coder.com/
🔸 Discord : / discord
🔸 See more making challenges: • ASMR Making Challenge
🔸 Code all night long with me : • Code With me
I upload videos every week.
Subscriptions, likes, comments and likes are a great help to me!
-----------------------
✍️ video timeline
00:00 intro
00:20 HTML coding
01:08 CSS coding
05:59 JS coding Start
11:41 Random Tetromino
13:46 Draw Tetromino
16:50 Erase Tetromino
16:50 Move Tetromino
22:00 Add keypress event
24:14 Rotate Tetromino
30:22 Collision Check
34:19 Lock Tetromino
40:17 Clear Rows
51:19 Add Ghost Function
01:10:28 Result
-----------------------
💻 My Setup
• Laptop: M1 Macbook Pro
• Editor: Vscode (Night Owl Theme)
• Keyboard: HHKB Professional 2 Type-S (self lubrication)
-----------------------
email: codingcozy@gmail.com
#asmr #asmrprogramming #asmrcoding #html #css #javascript

Пікірлер: 90
@begula_chan
@begula_chan 7 ай бұрын
Thank you very much, thanks to you i was inspired to create something like that and now it looks really cool!
@cozycoding
@cozycoding 7 ай бұрын
I am inspired by comments like these. Thanks for the comment😍
@sebastianraju79
@sebastianraju79 Жыл бұрын
Great to see ❤
@cozycoding
@cozycoding Жыл бұрын
thanks for watching🥹
@laalpattharkedevata
@laalpattharkedevata 11 ай бұрын
Your keyboard is so crunchy, I love it
@cozycoding
@cozycoding 11 ай бұрын
thanks 🙏
@tharsanv0809
@tharsanv0809 7 ай бұрын
Awesome channel bro, subscribed :)
@cozycoding
@cozycoding 7 ай бұрын
thanks bro 😍
@cydexcode
@cydexcode Жыл бұрын
Nice project ❤️👌
@cozycoding
@cozycoding Жыл бұрын
Nice Comment❤️
@CodeWhispersASMR
@CodeWhispersASMR 7 ай бұрын
nice! will try to create something like this too! ❤👌
@cozycoding
@cozycoding 7 ай бұрын
thanks bro. You can make it even better 👍
@cozycoding
@cozycoding 6 ай бұрын
All source code and assets for this project can be downloaded from my site. If the video was helpful, please leave a like and comment. ❣ 📍cozy-coder.com/
@irfaanvallapilm3847
@irfaanvallapilm3847 10 ай бұрын
New Subscriber here! Keep it up bro!!!
@cozycoding
@cozycoding 10 ай бұрын
Thanks Bro 😊
@infinitylooop644
@infinitylooop644 Жыл бұрын
very nice sounding of the keyboard, did you mod or lube it? I am currently using standard version of HHKB too, just wondering should I get a type-s version :) anyways nice video.
@cozycoding
@cozycoding Жыл бұрын
I self-lubricated the keyboard and put sound-absorbing material in it. The basic version had a lot of resonance, so I customized it. 😁
@uchiha5059
@uchiha5059 6 ай бұрын
Absolutely insane for me i wonder if i would ever be able to do something like this, for how long have you been coding? And what age did you start if you don’t mind sharing.
@cozycoding
@cozycoding 6 ай бұрын
I started at the age of 27 and am now in my 3rd year as a developer. 😁
@uchiha5059
@uchiha5059 6 ай бұрын
@@cozycodingaint no way you only got three years of experience if its true then this is highly motivating thank you!
@JaySlimCodes
@JaySlimCodes 6 ай бұрын
@@uchiha5059 I can do about the same 2 years it. Best advice is just do it literally
@uchiha5059
@uchiha5059 6 ай бұрын
@@JaySlimCodesyes dont worry about me im first year and giving paid tutoring to students but this still seem really advance for me since i havent touched js yet but truly inspiring and motivating to hear that from both of yall❤
@srijonofficial621
@srijonofficial621 6 ай бұрын
​@cozycoding bro give me some tips I am now at 9th grade doing coading I know html , js , css and python
@BlackBearSuperFan96
@BlackBearSuperFan96 6 ай бұрын
Wow....impressive!!
@cozycoding
@cozycoding 6 ай бұрын
thanks 😘
@stavroulagalani4007
@stavroulagalani4007 Жыл бұрын
Nice keyboard!!what are the switches? also great vid👍
@cozycoding
@cozycoding Жыл бұрын
thanks for watching.❤️ my keyboard is a contactless keyboard. "Happy Hacking Keyboard Professional2" 🙏
@randommaster4952
@randommaster4952 Жыл бұрын
Hello, I love your videos. What application do you use to create your games?
@cozycoding
@cozycoding Жыл бұрын
Thanks 👍 I use the vscode editor and I'm making a game using only html, css, and js.😊
@RevibeMods
@RevibeMods 7 ай бұрын
Geez that keyboard is nice
@cozycoding
@cozycoding 7 ай бұрын
thanks!!
@0xftz7w99o
@0xftz7w99o 10 ай бұрын
Great video! How do you get the keystrokes to show up in the browser?
@cozycoding
@cozycoding 10 ай бұрын
Thanks! I use "KeyCastr" 😊
@dersekranda
@dersekranda 3 ай бұрын
Hello. First of all, thank you for such a nice instructional video. My question is that the game should end when the entire screen is filled with blocks. However, even though the entire screen is filled with blocks, blocks still continue to appear above. How to prevent this situation? With which code can it be determined that the game is over?
@tnhm291
@tnhm291 5 ай бұрын
HHKBの音は気持いいから好き
@cozycoding
@cozycoding 5 ай бұрын
me too ❣️
@georgy3136
@georgy3136 6 ай бұрын
I am learning HTML/CSS/JS via freecodecamp, but I wanna follow along with you as well, try to understand every part. Do you think there is anything to gain from that, like essentially copying a tutorial but trying to understand the nuts and bolts? I wouldn't able to program Tetris on my own just yet.
@cozycoding
@cozycoding 6 ай бұрын
Simply copying may not be helpful, but I think it will be very helpful if you wonder why the code was written this way while copying. And if you make it yourself, your skills will definitely improve. 👍
@McDorans
@McDorans 8 ай бұрын
heyy how to set up vscode like yours !!!! i love it
@cozycoding
@cozycoding 7 ай бұрын
my vscode theme is "Night Owl"
@dfore115
@dfore115 7 ай бұрын
wow, i wish i could code something like this.
@cozycoding
@cozycoding 7 ай бұрын
I am also studying steadily. Let’s study together. If you keep doing it, you will be able to make it. 👍
@pavankewlani-jp9tl
@pavankewlani-jp9tl 6 ай бұрын
Sir please answer or else how I will get the video fully and also tell from where did you got the bgm.mp3 audio also tell this thank you please answer fast
@cozycoding
@cozycoding 6 ай бұрын
The assets used in the video can be obtained from the demo page source on my site where the video description is located. Sorry for the late reply. 🥹
@TecnoFinanzas_Insights
@TecnoFinanzas_Insights 15 күн бұрын
what is name this is switch in yout keyboard
@user-un2dg3jb8m
@user-un2dg3jb8m 6 ай бұрын
How to be a professional like you?😭
@cozycoding
@cozycoding 6 ай бұрын
I think it's best to keep doing it consistently. Let's code hard together 😊
@pavankewlani-jp9tl
@pavankewlani-jp9tl 6 ай бұрын
Sir from where did we get your pasted images
@cozycoding
@cozycoding 6 ай бұрын
You can get the image from the site in the video description. 😊
@user-ub2kp5ks8w
@user-ub2kp5ks8w 6 ай бұрын
What is the name of the notification sound?from the beginning
@cozycoding
@cozycoding 6 ай бұрын
You can find it by searching for tetris background music!
@yassinneji2567
@yassinneji2567 16 күн бұрын
What is the keyboard name
@johnsonlaw0804
@johnsonlaw0804 Жыл бұрын
What’s your key map for the arrow keys?
@timohavol8032
@timohavol8032 Жыл бұрын
vim
@cozycoding
@cozycoding Жыл бұрын
I don't use vim, but I'm using i,j,k,l as arrow keys. Key settings were done with the karabiner app.😎
@ThaLiquidEdit
@ThaLiquidEdit 7 ай бұрын
Keyboard stock or modified?
@cozycoding
@cozycoding 7 ай бұрын
modified!😊
@ThaLiquidEdit
@ThaLiquidEdit 7 ай бұрын
@@cozycoding What did you modify I also have one and yours sounds AWESOME!
@cozycoding
@cozycoding 7 ай бұрын
@@ThaLiquidEdit I lubricated it and added sound absorbing material!
@juancota5573
@juancota5573 6 ай бұрын
Hello, I'm new to programming and they gave me a project to create Tetris. I have everything right, I already have the interface of the page but in the js part I don't know what to do, I put the code as such, I even did copy and paste and the figures don't come out, it's as if I had never put any code. Can you help me with this please or if you have a github page to see the files you used
@cozycoding
@cozycoding 6 ай бұрын
I think I can help if you tell me exactly what the problem is or give me the github link.
@juancota5573
@juancota5573 6 ай бұрын
I can't put any kind of link
@zojirushi1
@zojirushi1 7 ай бұрын
What vsc theme do you use?
@cozycoding
@cozycoding 7 ай бұрын
Night Owl 🦉
@user-969vicpdef
@user-969vicpdef 10 ай бұрын
Sir what's the difference between "clearrow" and "eraserow"???😢😢
@cozycoding
@cozycoding 10 ай бұрын
Sorry for the late reply. clearRow is a function that clears a line filled with tetriminos. Erase Tetromino is a function that erases the previous frame's tetriminos in order to draw the falling tetrominos.
@user-zz2mg9xi6m
@user-zz2mg9xi6m 5 ай бұрын
굳!
@cozycoding
@cozycoding 5 ай бұрын
😊
@Rocherz
@Rocherz 8 ай бұрын
Can you make _Tengen Tetris?_
@cozycoding
@cozycoding 8 ай бұрын
Okay, I'll try it next time.
@MrJloa
@MrJloa 7 ай бұрын
Who cares about fckn Tetris?! The star of this vid is the keyboard!!! What's this goddess keyboard name/model ?? 😮😮😮
@cozycoding
@cozycoding 7 ай бұрын
my goddess ketboard is HHKB Professional 2 Type-S (self lubrication). 👍 thanks for watching bro
@mineskijegtv0709
@mineskijegtv0709 5 ай бұрын
do you have a github link for that?
@cozycoding
@cozycoding 5 ай бұрын
You can check the code by visiting the site in the description instead of github.😊
@she_dreams_of...
@she_dreams_of... 5 ай бұрын
новый вид ASMR
@cozycoding
@cozycoding 5 ай бұрын
😁
@dooya3410
@dooya3410 13 күн бұрын
How do I make the game end? Please add that to the code
@dooya3410
@dooya3410 13 күн бұрын
Please answer I really need this 🙏
@felixyou3285
@felixyou3285 7 ай бұрын
Where are the image assets?
@cozycoding
@cozycoding 7 ай бұрын
You can check the images on my site in the profile link. ☺
@felixyou3285
@felixyou3285 7 ай бұрын
and the audio etc..@@cozycoding
@user-bn7oc9uw9i
@user-bn7oc9uw9i Жыл бұрын
Why can't I see Tetris in the webpage to play? Tetris you wrote is great. Has a ghost function.
@cozycoding
@cozycoding Жыл бұрын
I couldn't add it because I was developing the site. I'll add it soon.🙏 thanks for watching😊
@demianrubens2216
@demianrubens2216 7 ай бұрын
Hello,can you send source code?
@demianrubens2216
@demianrubens2216 7 ай бұрын
Please
@cozycoding
@cozycoding 7 ай бұрын
You can get the code on my site in the video description!!
@ChrisChhun
@ChrisChhun 5 ай бұрын
Where is the source code?
@cozycoding
@cozycoding 5 ай бұрын
You can check it out on my site in the video description.😊
@justportakal46
@justportakal46 6 ай бұрын
title ---> Tetirs game
@cozycoding
@cozycoding 6 ай бұрын
Oh I get it now. thank you
Building Nebula: Coding my own terminal from scratch.
51:32
Sorta Kinda Maybe
Рет қаралды 230
ASMR Programming - Spinning Cube - No Talking
20:45
Servet Gulnaroglu
Рет қаралды 3,5 МЛН
Trágico final :(
01:00
Juan De Dios Pantoja
Рет қаралды 18 МЛН
I MADE A CARDBOARD SWING!#asmr
00:40
HAYATAKU はやたく
Рет қаралды 29 МЛН
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 745 М.
ASMR Programming - Weather App With Javascript - No Talking
20:30
AsmrProg
Рет қаралды 2,6 МЛН
I randomized every block's code in Minecraft..
10:38
Element X
Рет қаралды 187 М.
ASMR Programming: Tesla Page | No Talking
13:44
Codetive
Рет қаралды 5 М.
Best of 2023! 2 Hour Special! | Angelo Shoe Shine ASMR
2:10:32
Angelo Shoe Shine
Рет қаралды 1,3 МЛН
NEW GPT-4o: My Mind is Blown.
6:28
Joshua Chang
Рет қаралды 54 М.
#97 2023 수능 수학 ASMR
50:04
잉크잉크 Ink inc.
Рет қаралды 1,8 МЛН
8 Design Patterns | Prime Reacts
22:10
ThePrimeTime
Рет қаралды 374 М.
OpenAI SHOCKED Everyone! Voice, Vision, & Free?!
8:58
Theoretically Media
Рет қаралды 23 М.
Trágico final :(
01:00
Juan De Dios Pantoja
Рет қаралды 18 МЛН