RADZION

Blog

Realize ambition

Snake Game with JavaScript

Source Code

Check It Out

On YouTube

main

In this course, we will build a Snake Game with JavaScript without using any libraries. We will utilize functional and immutable programming, learn canvas rendering, applications of vectors, and basics of game development.

Table of Content

1. HTML, CSS and Utils

2. Classes for Geometry — Vector and Segment

3. State Management

4. Rendering and Game Loop