Back To Project List

Snake JS

Open Source

Simple Snake game that using HTML Canvas and Tailwind CSS. Using Vite as bundler make it simple to use Typescript. In this project, i'm using "vanilla javascript" to create dom. For example, i prevent use innerHTML to insert html string. Instead, i'm using createElement to create a dom.

Visit Demo Site to view this game. If you want to try in your own, visit GitHub Repository for full source code.