Coder Social home page Coder Social logo

vue-puzzle's Introduction

vue-puzzle

介绍

一款基于vue.js的拼图小游戏

vue-puzzle's People

Contributors

luozhihao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-puzzle's Issues

code explain

            // 页面显示
            this.puzzles = puzzleArr
            this.puzzles.push('')

this.puzzles.push('') what does this line do XD 🍺

你是否能完成游戏

你好,我想问下,加了边界条件限制(在左边界不能移动到上一行的右边界,在右边界不能移动到下一行左边界)的情况下,你是否完成了游戏呢?如果完成了,能否告诉我在下面的情况下,如何将 12 移动到左下角吗?

your randomize operation can't ensure a real final solution

This issue is not about Vue example, but about algorithm

for example I got this finally:
01 02 03 04
05 06 07 08
09 10 11 15
13 14 12

manny years ago I made a same example in VB6.0
I met this problem---- a simple random array can't ensure player get a real solution.
This will definitely frustrate them.

I forget how I create a correct "random" array with a real solution.
But I still can remember one that I tried ---- create an "already soluted array", then move random blocks 100 times, or even more.

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.