Giter VIP home page Giter VIP logo

jiugonggechongpai's Introduction

JiuGongGeChongPai

Made By LDT/绿豆汤

名字

九宫格重排益智小游戏

效果预览

如图: 九宫格自动重排by绿豆汤

简介

不是数独,是像华容道的那种九宫格游戏。 有九个位置,包括打乱的一到八和一个空格,每次移动一个方块,最后需要排成按顺序排的数字,如下: 1 2 3 4 5 6 7 8 空位

功能

  1. 开始游戏 按下之后能够为你记录游戏时间,同时只有按下了才能移动方块
  2. 重置游戏 按下之后数字将重新分布,运用了计算机的强大算法(滑稽),让这个分布一定能够有解,而在完全随机的情况下,有50%的概率将移动不到目标位置
  3. 开挂按钮 按下之后电脑将自动算出最优路径,并将替您自动移动方块,完成最终布局,取得游戏胜利
  4. 内测按钮 为最下方的按钮,现在测试的功能为改变最终状态,九宫格游戏的目标可以不止一个。挑战在现有布局下转移到另一个布局的方法,燃烧吧,大脑!

安装配置

下下来就行,应该不用安装什么。

快速教程

下载,用浏览器打开即可食用。 项目第一版包含CSS+HTML+原生JAVASCRIPT,刚学前端,巩固下基础,不添加过多调味料,保证原汁原味。

API 文档

这是啥,函数介绍?下次一定(以后有空)补

版本变化

  • 1.0.0 2020-05-06
    • 第一版能用的代码,具备一些基础功能(开始,重置,开挂按钮),页面待美化。
  • 1.0.1 2020-12-04
    • 把修改最终格式的功能做到能用了√

jiugonggechongpai's People

Contributors

ldt-dream avatar

Watchers

 avatar

Forkers

llsccm

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.