Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 4 KB

Readme.md

File metadata and controls

42 lines (37 loc) · 4 KB

#sudoku This is a simple web page that provides tools to help solve sudoku puzzles.

To access the web page, go to http://intrepidcoder.com/projects/sudoku.

Note: This web page does not automatically save any entered values or pencilmarks. Refreshing or navigating away from it will reset the page to its initial state without warning.

##Features:

  • Pencil marks
  • Cell highlighting based on pencil marks
  • Flag duplicate values
  • Show solution
  • Import sudoku puzzles.
  • Save/reload a sudoku puzzle using a cookie.
  • Hints
  • Mark guesses for quick removal

##Instructions:

  1. To begin, enter some values. Find a sudoku puzzle and input its values using the number keys to insert values. The arrow keys, TAB, and ENTER can be used for navigation, while DELETE and BACKSPACE remove values. Alternatively enter values using the tools under the Save/Load sidebar.
  2. Submit the values by clicking the begin solving link. This sets the values as read-only and enables the solving tools.
  3. Solve the puzzle using pencil marks, cell highlighting, guesses, hints, and if all else fails, show solution.

##Button/link descriptions:

  • Begin solving: Sets the entered values as read-only clues and submits them to the puzzle solver. Once the values have been submitted, they cannot be changed. This generates a solution for the values and enables the solving features.
  • Save/Load: Shows a panel with options to save a sudoku puzzle in progress or reload a previously saved puzzle.
  • Save/Load>Input Puzzle: Allows values to be inputted from the clipboard. This overwrites existing values. Zeros, "*", ".", or "_" can be used as placeholders for empty cells. All other characters are ignored. There must be exactly 81 numbers for this to work properly.
  • Save/Load>Import State: Paste a text string copied from export state to reload the state of the puzzle when the text string was copied. This overwrites existing values.
  • Save/Load>Save to Cookie: This saves the values, pencilmarks, and cell number coloring to a cookie. Cookies must be enabled in the browser.
  • Save/Load>Load from Cookie: If a previously saved cookie exists, this reloads the values, pencilmarks, and cell number coloring stored in the cookie. Overwrites existing values.
  • Clear cells: Deletes all values, resets pencil marks, and removes all highlighting. This resets the page to its initial state.
  • 1-9: Highlights all cells that do not have a pencil mark of 1-9 a pale green color. If the pencil marks have been updated, this can be used to easily determine which cells do not have a value of 1-9. Does not update automatically.
  • Clear: Removes all cell highlighting.
  • Enter values: When this option is selected, typing a number in a cell changes its value.
  • Enter pencil marks: When this option is selected, typing a number in a cell toggles the corresponding pencil mark.
  • Automatically remove pencil marks: When this option is enabled, entering a value in a cell removes that pencil mark from all of the cell's neighbors (cells in the same row, box, or column).
  • Update: Changes all pencil marks so that they show the possible values that each cell could have. This overwrites existing pencil marks.
  • Reset: Adds all pencil marks to empty cells. Allows solving the puzzle without the aid of pencil marks. This overwrites existing pencil marks.
  • Show duplicates: When this option is enabled, neighboring cells with the same value are flagged red.
  • Mark blank cells (color): Marks all blank cells with a certain color. Use this to make guesses so that if the guess is incorrect, all values entered afterward can be removed easily.
  • Delete cells marked (color): Deletes all cells that have been marked a certain color. Does not affect cells marked a different color or pencil marks.
  • Show solution: This opens the sudoku puzzle's solution in a new window. If there are more than one solution, only one will be displayed.
  • Hint: Gives a hint for cell that was last selected, up to three hints. Hints are based on the solution.