Рет қаралды 97,626
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