ASMR Programming - Coding a Snake Game with Javascript - No Talking

Опубликовано: 06 Август 2022
на канале: Codeminton
21,284
578

Hello to everyone. In this video, I made a snake game using HTML, CSS and Javascript. I added sound effects to the game. When the snake eats the bait and hits the wall, it makes a sound. This sounds really good. I also added points to this snake game. When the snake eats the bait, it gains points. If the game is over, all points are reset.

This game is made using HTML Canvas, CSS and Vanilla Javascript.

🟢 Free Bootstrap Admin Dashboard Template
Download: https://cakeadmin.com/

Source code: https://bit.ly/3zRvL5l

Table of Content:

00:00 Preview
00:26 Work files
00:40 Game screen design (HTML & CSS)
02:49 Javascript variables definitions
04:30 Methods definitions
05:48 onload() method
08:11 update() method
17:06 foodPlace() method
17:39 changeDirection() method
18:44 gameOverEvent() method
19:33 createReact() method
20:12 createText() method
21:43 Result

Playlists:

► Only HTML & CSS Coding → https://bit.ly/3BFQDyU

♡ Subscribe → https://bit.ly/3cpqY31


На этой странице сайта вы можете посмотреть видео онлайн ASMR Programming - Coding a Snake Game with Javascript - No Talking длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Codeminton 06 Август 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 21,284 раз и оно понравилось 578 зрителям. Приятного просмотра!