snake_svelte3 Svelte Themes

Snake_svelte3

🐍

So as my previous prject promised, I made another snake game with below feature:

  • svelte component
  • OOT snake
  • state management
  • kind of clean code
  • RWD
  • touch screen supported
  • use arrow keys to control and space to start/pause/restart the game.

usage:

<div class="wrapper">
  <Snake canvasWidth={10} canvasHeight={10} speed={3} />
</div>

Demo:Demo

Top categories

Loading Svelte Themes