Giter VIP home page Giter VIP logo

2048game's Introduction

2048Game

2048游戏

项目概述

项目支持游戏刷新,分数统计,基本的2048游戏功能,且带有合成动画炫酷效果

项目包含游戏成功,游戏失败机制...

项目编写的逻辑,作者自认为清新脱俗,且有一点抽象。看不懂可以联系作者,作者必将热情讲解它的来龙去脉

最值得一提的是,此项目监听了页面的获焦与失焦的事件,当页面失焦时会触发某些操作

项目使用注意事项

  1. 请务必使用Chrome浏览器打开,IE的德性你懂的,IE并不支持ES6语法,localStorage也是不支持的,所以IE对H5的支持很不友好
  2. 本项目仅支持PC端,使用键盘方向键进行游戏操作
  3. 若需要手机端的支持,请快速在issues提出
  4. 强调一遍,请务必使用Chrome浏览器打开( ̄▽ ̄)"
  5. 插嘴一句:IE已与时代脱节,必将被时代抛弃

项目入口

index.html

2048game's People

Contributors

huzig 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.