JavaScript, JavaScript…. Rocks You! by Vitalii Bobrov | JSConf EU 2019 - YouTube
- 20/07/19
- News
- 2230
In this article I am going to show you how to build a snake game with JavaScript. A snake game is a simple game where a snake moves around a box trying to eat an apple. Once it successfully eats the apple, the length of the snake increases and the movement becomes faster. Then the game is over when the snake runs into itself or any of the four walls of the box. Alright, let's start with the HTML and CSS (the skeleton for our game).