Skip to content

Echonessy/EchoSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EchoSnake By Echonessy

this is my snake game

###用法

Html:
<div class="EleBox" id="Element"></div>
<p class="Start" id="Start">开始</p>

Js:
 var Snake =  new EchoSnake();
    Snake.Config({
        Ele:'#Element', // 绑定元素主体
        Start:'#Start', //启动按钮
        Matrix: 20 // 矩阵大小为20*20 
    });
    

Demo演示地址

贪食蛇思路图

image

效果图

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published