Learn how to build a the iconic Snake game using JavaScript in the browser! We will be using plain vanilla JS to code this fun game.

We use a html5 canvas to create this snake game. We draw on the canvas using drawrect and other methods provided by the canvas. We will be tracking our score based on how many fruit the snake eats. We us an object orientated approach to build this game.

Code on GitHub: https://github.com/kriscfoster/Snake-Game

Don’t forget to Subscribe here: https://www.youtube.com/channel/UCWkzkhQ3syxBjjAYwqCbzYg?sub_confirmation=1

#vanilla #javascript #html #html5

Coding JavaScript Snake Game (Plain Vanilla JavaScript & HTML Canvas)
1.30 GEEK