GithubHelp home page GithubHelp logo

cs-554-number-game's People

Contributors

derekqian avatar fsliz avatar hemakumar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

hemakumar

cs-554-number-game's Issues

tiles not Randomly generated

For now, we are hardcoding the values in the puzzle, so it will be the same puzzle everytime. it should be random instead.

algorithm for scrambling

The tiles were scrambled by a series of random moves. The number of random
moves was dependent upon the size of the puzzle (ie, 2x2, 3x3, 4x4, or 5x5)
and the level of difficulty (ie, 1-10). For the 2x2 puzzle, the number of
random moves was either 1, 2, 3, 4, or 5. The actual numbers for the other
puzzles are shown below:

size    level   # of moves
----    -----   ----------
3x3  10     30      the number of moves is increased
      9     32      by 2 for each decrease in level
      :      :
      1                48

4x4  10     60      the number of moves is increased
      9     64      by 4 for each decrease in level
      :      :
      1                96

5x5  10     75      the number of moves is increased
      9     80      by 5 for each decrease in level
      :      :
      1               120

If was found that the puzzles with the most random moves could be solved with
less moves, thereby beating the puzzle wizard. It was more difficult to beat
the puzzle wizard for those puzzles with the least number of random moves.

Highlighting blank tile causes crash.

When ever the blank tile gets highlighted, force close will pop up.

Suspect this has something to do with unhighlighting the tiles. May have something to do with the scoring.

Move the toast

Toast is not being dispayed at the right position. Please change the position of the toast

Highlighting in Number game

In the number game( the one with no equations) there should be no highlighting of numbers.

We need to fix this asap, as its concerned with our demo-2.

I am also looking at this issue

Rotating Causes puzzle to reset

Need to find the code that is causing the reset and move it. onLayout may be the more appropriate place instead of onViewChange.

The other possibility is to fix this game in one format (landscape or portrait.

Saved State Not working

The state of game is not being saved, if the state of game is saved, pause game will be working in our application

Game Wizard: plays back the moves according to AI

The Puzzle Wizard plays back the scramble moves in reverse
order so that the puzzle is unscrambled. The Puzzle Wizard
replays the moves one at a time with a 500 milli-second delay
between moves. Since the screen is redrawn after each move,
it appears as if the tiles are moving one at a time.

Game Over for Number game

The number puzzle is solved when all the tiles are arranged in order
and the blank is in the lower right space. When the tiles are moved
into this arrangement, a message is displayed saying that the puzzle
is solved. A congratulatory message is also displayed which is
dependent upon whether the number of moves is less than, equal to,
or greater than the number of moves used to scramble the puzzle.

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.