Giter Site home page Giter Site logo

gluttonoussnake's Introduction

gluttonousSnake

贪吃蛇是用原生js和H5 canvas实现的小游戏。

  • 功能

(1)一条蛇,随机食物,上下左右键控制移动方向,蛇吃到食物可以生长,碰到墙壁或自己会死亡。
(2)可以更换地图大小、食物类型、蛇皮肤,可以选择游戏难度,不同难度蛇速度不同。
(3)可以暂停继续游戏,保存以往得分最高记录。

  • 待优化

(1)刹车滑板障碍的放置。刹车滑板障碍和难度级别联系起来。
(2)地图画成网格,蛇的位置和移动方向可以随机调整。
(3)金币、足球,放置区域不同,加分不同。

  • 待丰富

(1)双人对战、人机对战、自动生成n条蛇。
(2)更多实现方案。

gluttonoussnake's People

Contributors

amyqianqianwang avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.