- The board draws with all given numbers having a gray background and not editable, and the default selected cell when the puzzle first appears is the top left cell.
- User can select a cell and the app will automatically (if setting is appropriate) highlight the following:
- The row the cell is in.
- The column the cell is in.
- The 3x3 box the cell is in.
- Any cells containing the same number, if the cell selected has a value (in a different color than numbers 1 - 3).
- If a cell has a value in it and it is not a given cell, the eraser button functions properly and resets highlighting.
- The button digit counts recalculate with every number entered/erased (and only appear if the setting is appropriate).
- If a user tries to enter an invalid number in a cell (like a second "3" in a row/column/box), the puzzle will shake briefly and not enter the number.
- Upon puzzle completion, the screen will bring up a dialog saying it is completed and it will redirect the user to the History UI (it will need to pass the score once the timer functionality is completed).
- Screen orientation functions properly (no numbers are reset, etc).
Screenshot of new highlighting function:
![]() |
| The colors show up pale on the emulator, but nicely on the phone. |
The next steps I'd like to look at in the immediate future is darkening buttons when there are 9 of the number present on the board (no more to place), pencil marks function, and starting to set up the timer.
Right now the puzzle is being generated by two hard-coded strings (one with the fully solved puzzle, and one with the blanks in the puzzle). It will be replaced by the generator's puzzles (which will be looked at later today).
Stephanie

No comments:
Post a Comment