Git Product home page Git Product logo

pintu-puzzle's Introduction

Pintu-Puzzle

九宫格滑块拼图游戏

功能特点

  • 多种操作方式:既可以通过鼠标点击,也可以通过方向键操作。
  • 简单动画效果:拼图滑动时以及拼图完成时,有简单的过度动画。
  • 三种难度选择:可以选择游戏难度,简单两阶、普通三阶、困难四阶。
  • 高精度计时器:精确到毫秒的游戏计时器,适合那些想要挑战自己的玩家。
  • 自定义背景图:可以上传自己喜欢的图片作为拼图,高度会根据图片尺寸调整。

注意:游戏初始化参数是在 HTML 中设置的,默认背景图片在 img.hidden 标签的 src 属性中指定,拼图画布的宽度在 div.frame 标签的 style 属性中指定,难度与阶数关系在 div.select 标签下的 data-level 属性中指定。

演示截图

screenshot

应用链接

趣味拼图游戏 Pintu-Puzzle

pintu-puzzle's People

Contributors

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