Giter VIP home page Giter VIP logo

2019-contest's Introduction

360前端星计划游戏题

题目描述

用 JavaScript 实现一个推箱子游戏

要求

  • 能够选择关卡和难度
  • 能够正确判断失败和胜利

加分项

  • 支持移动设备
  • 比较优秀的UI和交互
  • 代码实现优雅,注释完整

结果

主目录: index.html、index.js、index.css Images文件夹

  • html为页面骨架,
  • js为行为操作,动态生成推箱子的地图,人物,箱子以及移动
  • css为样式文件
  • Images文件夹放置需要的图片

一共七到关 Up:上 Down:下

Left:左:Right:右

Backspance:后退

测试

问题1:第五关有个bug,推箱子过程中会多出一个箱子 问题2:回退的功能,有时候会回退到起始点,还能回退一次,回到上一关的状态【只是箱子】,后面需要完善。

2019-contest's People

Contributors

akira-cn avatar dubaohao avatar

Stargazers

 avatar

Watchers

 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.