Giter Club home page Giter Club logo

sdd-sudoku-teacher's People

Contributors

aa26 avatar aaoa avatar noitsjocelyn avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

sdd-sudoku-teacher's Issues

Max generation time

Do we want to have puzzle generation "fail" and start over if it reaches a given time without success? If so, how long? 30 seconds? 10 seconds? A minute?

This should be fairly straight forward: In PuzzleMakerFactory, set the dispatch_semaphore_wait max time to something other than DISPATCH_TIME_FOREVER, and then start over in the failure block.

Hint-->Play CRASH

Play at the end of the hint sequence causes the app to sometimes crash.

Pre-generate complete puzzles at Main Menu

If we pre-generate full puzzles at the main menu, they will hopefully be ready to go by the time the user picks a difficulty and starts a game. This should drop the loading time to almost zero, if done correctly.

Hint crash

In tutorial game, hint button crashed

Number of blanks

Is there a minimum number of blanks in a puzzle? Should there be?
image

Time in title bar

Since there isn't much room left in the UI on 3.5 inch iPhone screens, I've been thinking about where to put the game timer. My best idea so far is putting it in the title bar. It would say Sudoku briefly, then fade to the time since the user started the puzzle.

Puzzles don't necessarily have a unique solution

I got almost all the way done with the puzzle shown below, and with four squares left, I realized that there are two possible solutions. Both of the sectors need an 8 and a 9, and nothing forces you to pick one way over the other. Is there a way we can guarantee uniqueness?

photo

Methods to make easy and moderate puzzles can hang

The PuzzleMaker methods makeEasyPuzzle and makeMediumPuzzle can hit a point of no progress and hang. I added a cutoff where the methods give up after 500 consecutive iterations with no progress. The puzzles that get generated when this threshold is reached are not valid easy or medium puzzles.

The easiest place to see this bug is the unit tests, which often fail on easy, and always fail on medium.

Post Puzzle Crash

Finished puzzle, pop up with "puzzle completed", pressed okay. Finished board displayed, hit the hint button, and app crashed.

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.