sdd-sudoku-teacher's People
sdd-sudoku-teacher's Issues
Optimize puzzle making
Optimize the Sudoku generation and puzzle making algorithms.
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
Memory leak in moderate puzzle generation
Generated "easy" puzzle may not be solvable using easy algorithms
Number of blanks
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.