🐍
So as my previous prject promised, I made another snake game with below feature:
usage:
<div class="wrapper"> <Snake canvasWidth={10} canvasHeight={10} speed={3} /> </div>
Demo:Demo