DEV Community

loading...

Coding Snake in JavaScript Complete Tutorial Every Step Explained with HTML5 Canvas

codingwithadam profile image CodingWith-Adam ・1 min read

In this tutorial we will be creating the game snake using JavaScript and HTM5 Canvas. We will explore the game loop, collision detection, taking keyboard input and adding sound.

I look forward to any input on this tutorial :)

Discussion

pic
Editor guide