Skip to content

Releases: dclamage/SudokuSolver

SudokuSolver v0.3.2-alpha

21 Jun 08:24
Compare
Choose a tag to compare
Pre-release

Installation Guide

If you are installing for the first time, these wiki pages contain step-by-step instructions for setting up the solver:
https://github.com/dclamage/SudokuSolver/wiki/installation-guide
https://github.com/dclamage/SudokuSolver/wiki/fpuzzles-integration

Additional Script

If you'd like to use the "Renban" and "Whispers" constraints within f-puzzles then you will need to install an additional user script from this URL: https://gist.githubusercontent.com/dclamage/3d76a56c9153a8546888a31d65765cb7/raw/fpuzzles-newconstraints.js

More details can be found here: https://github.com/dclamage/SudokuSolver/wiki/fpuzzles-integration#additional-scripts

Summary

Support for "Renban" and "Whispers" constraints, logical solver improvements, bug fixes.

IMPORTANT

You must update your user script with the new one in this distribution (Fpuzzles-SudokuSolver.user.js)

New Features

  • New "Renban" constraint. Digits along a Renban line must be consecutive, but in any order.
  • New "Whispers" constraint. Adjacent digits along a Whispers line must have at least a certain difference.
  • The logical solver will attempt to use simpler contradictions before more complex ones. (@matjojo)
  • When using a given string on commandline, the error message is improved with a "corrected" string. (@matjojo)

Bug Fixes

  • [f-puzzles] Fixed issue introduced in previous version where logical candidates would display as black instead of red.

Choose your release based on your platform:

If you'd like to help contribute to the project, there are plenty of tasks, including documentation tasks for non-programmers. Contact me on Discord if you're interested! (See README on main GitHub page).

SudokuSolver v0.3.1-alpha

17 Jun 09:18
Compare
Choose a tag to compare
Pre-release

Installation Guide

If you are installing for the first time, these wiki pages contain step-by-step instructions for setting up the solver:
https://github.com/dclamage/SudokuSolver/wiki/installation-guide
https://github.com/dclamage/SudokuSolver/wiki/fpuzzles-integration

Summary

Fix for several F-puzzles integration bugs, improved thermos and between lines logic.

IMPORTANT

You must update your user script with the new one in this distribution (Fpuzzles-SudokuSolver.user.js)

New Features

  • Improved "Between Line" logic when one end is known and the other is not.
  • [f-puzzles] When True Candidates returns no solutions, all cells empty cells are filled with a red X.

Bug Fixes

  • Fixed thermometers not removing candidates properly.
  • [f-puzzles] Fixed random issue where true candidates would erroneously return no solutions.

Choose your release based on your platform:

If you'd like to help contribute to the project, there are plenty of tasks, including documentation tasks for non-programmers. Contact me on Discord if you're interested! (See README on main GitHub page).

SudokuSolver v0.3.0-alpha

14 Jun 00:25
Compare
Choose a tag to compare
Pre-release

Installation Guide

If you are installing for the first time, these wiki pages contain step-by-step instructions for setting up the solver:
https://github.com/dclamage/SudokuSolver/wiki/installation-guide
https://github.com/dclamage/SudokuSolver/wiki/fpuzzles-integration

Summary

Logical solver exclusion options, Logical marks with true candidates, Bug fixes.

IMPORTANT

You must update your user script with the new one in this distribution (Fpuzzles-SudokuSolver.user.js)

New Features

  • [f-puzzles] Added settings to disable types of steps for the logical solver.
  • [f-puzzles] The "true candidates" feature can now also show logical candidates.
    • Logical candidates which lead to 0 solutions are colored red.
    • The "Colored Candidates" feature has been renamed to "Solution Count"

Bug Fixes

  • [f-puzzles] Fixed a console error when disconnecting

Choose your release based on your platform:

If you'd like to help contribute to the project, there are plenty of tasks, including documentation tasks for non-programmers. Contact me on Discord if you're interested! (See README on main GitHub page).

SudokuSolver v0.2.6-alpha

13 Jun 08:44
Compare
Choose a tag to compare
Pre-release

Summary

"Given Marks" feature, new "Self taxi" constraint (console only), plus bug fixes.

IMPORTANT

You must update your user script with the new one in this distribution (Fpuzzles-SudokuSolver.user.js)

New Features

  • [f-puzzles] Added "Given Marks" feature which forces the logical and brute force solvers to respect a restriction on possibilities in a cell.
    • This is useful if there are constraints in the puzzle that the solver doesn't understand, and also for cases where there are restrictions on a cell which can be proved logically, but the brute force solver has trouble eliminating quickly.
    • To set given marks turn on the option in the solver settings (cog button next to connect button), and then use the centermark mode.
    • Given marks show up as bold and dark red, and will always appear even if other pencilmarks or non-given values are placed in the cell.
  • Added self-taxi constraint
    • A value cannot be a taxi-cab distance equal to itself away from the same value.
    • Just like all other non-f-puzzles constraints, this is currently only available through the console.

Bug Fixes

  • [f-puzzles] The solver console will clear more regularly and intelligently.
  • [f-puzzles] Better error messaging when the puzzle fails to import

Choose your release based on your platform:

If you'd like to help contribute to the project, there are plenty of tasks, including documentation tasks for non-programmers. Contact me on Discord if you're interested! (See README on main GitHub page).

SudokuSolver v0.2.5-alpha

02 Jun 20:09
Compare
Choose a tag to compare
Pre-release

Summary

Bug fix release.

Bug Fixes

  • Fixed f-puzzles import when both centermarks and values are specified for the same cell.
  • Using new method for the user-script shim which more consistently hooks into the needed functionality.
  • Improved the real candidate solution cache so that it better detects when a board state is the same as one seen previously.
  • Fix for very rare arrow bug which would cause valid solutions to be missed. This would only happen for arrow pills where the arrow also uses a pill digit.

IMPORTANT

If you already have v0.2.4-alpha or earlier, you will need to update your user script with the new one in this distribution (Fpuzzles-SudokuSolver.user.js)

Choose your release based on your platform:

  • The majority of Windows users will want: SudokuSolver-0.2.5-alpha-win-x64.zip
  • Windows 10 ARM64 users (such as Surface Tablets): SudokuSolver-0.2.5-alpha-win10-arm64.zip
  • Mac OSX users (no ARM64 support yet but works with Rosetta): SudokuSolver-0.2.5-alpha-osx-x64.zip
  • Linux users (should work for most major distros): SudokuSolver-0.2.5-alpha-linux-x64.tar.gz

If you'd like to help contribute to the project, there are plenty of tasks, including documentation tasks for non-programmers. Contact me on Discord if you're interested! (See README on main GitHub page).

SudokuSolver v0.2.4-alpha

23 May 21:48
Compare
Choose a tag to compare
Pre-release

Summary

F-puzzles integration improvements: Settings menu, colored true candidates.
Solver bug fixes.

New Features

  • [F-puzzles integration] New "Solver Settings" menu next to the connect button.
  • [F-puzzles integration] Moved the "Simple Logic" toggle to the new settings menu.
  • [F-puzzles integration] Scaled candidate/corner marks to be larger.
  • [F-puzzles integration] Support for "colored true candidates". This colors candidates based on how many solutions there are when using that candidate. Green means only one solution, and then shades of blue get darker as the number of solutions increases from 2-8, at which point it caps out. The option to turn this on is in the new settings menu.

Bug Fixes

  • Fixed how clones and palindromes report their logical solving.
  • Fix for multi-threaded solving using a large amount of memory and getting slower over time.

IMPORTANT

If you already have v0.2.3-alpha or earlier, you will need to update your user script with the new one in this distribution (Fpuzzles-SudokuSolver.user.js)

Choose your release based on your platform:

  • The majority of Windows users will want: SudokuSolver-0.2.4-alpha-win-x64.zip
  • Windows 10 ARM64 users (such as Surface Tablets): SudokuSolver-0.2.4-alpha-win10-arm64.zip
  • Mac OSX users (no ARM64 support yet but works with Rosetta): SudokuSolver-0.2.4-alpha-osx-x64.zip
  • Linux users (should work for most major distros): SudokuSolver-0.2.4-alpha-linux-x64.tar.gz

If you'd like to help contribute to the project, there are plenty of tasks, including documentation tasks for non-programmers. Contact me on Discord if you're interested! (See README on main GitHub page).

SudokuSolver v0.2.3-alpha

19 May 08:33
Compare
Choose a tag to compare
Pre-release

Summary

F-puzzles integration improvements: Canceling improvements, new export buttons.
Stability fixes.

New Features

  • Added export buttons for the CTC app and SudokuLab

Bug Fixes

  • Pressing the solve button will now work if there is a "redo" history. (This wipes the redo history).
  • Fix for 9-cell thermos stalling the solver forever.
  • Improved cancellation behavior on both user script and solver side.

IMPORTANT

If you already have v0.2.2-alpha or earlier, you will need to update your user script with the new one in this distribution (Fpuzzles-SudokuSolver.user.js)

Choose your release based on your platform:

  • The majority of Windows users will want: SudokuSolver-0.2.3-alpha-win-x64.zip
  • Windows 10 ARM64 users (such as Surface Tablets): SudokuSolver-0.2.3-alpha-win10-arm64.zip
  • Mac OSX users (no ARM64 support yet but works with Rosetta): SudokuSolver-0.2.3-alpha-osx-x64.zip
  • Linux users (should work for most major distros): SudokuSolver-0.2.3-alpha-linux-x64.tar.gz

If you'd like to help contribute to the project, there are plenty of tasks, including documentation tasks for non-programmers. Contact me on Discord if you're interested! (See README on main GitHub page).

SudokuSolver v0.2.2-alpha

18 May 19:36
Compare
Choose a tag to compare
Pre-release

Summary

Fixed bugs with f-puzzles integration button hooks, fixed osx packaging.

Bug Fixes

  • Fixed hooking buttons in userscript being "finicky" - it would lose the hooks often.
  • Fixed "Step" printing "No logical steps found." twice.
  • OSX now has a "listen" script instead of using the SudokuSolverConsoleListen app, which didn't work properly.

IMPORTANT

If you already have v0.2.1-alpha or earlier, you will need to update your user script with the new one in this distribution (Fpuzzles-SudokuSolver.user.js)

BEHAVIOR CHANGE

If you are upgrading from v0.1.2-alpha or earlier, there is a behavior change for the f-puzzles integration:
Connecting the f-puzzles site to the solver no longer automatically turns on the "True Candidate" feature. Instead, there is a new toggle button in the f-puzzles solver console panel, which appears only while connected.

Choose your release based on your platform:

  • The majority of Windows users will want: SudokuSolver-0.2.2-alpha-win-x64.zip
  • Windows 10 ARM64 users (such as Surface Tablets): SudokuSolver-0.2.2-alpha-win10-arm64.zip
  • Mac OSX users (no ARM64 support yet but works with Rosetta): SudokuSolver-0.2.2-alpha-osx-x64.zip
  • Linux users (should work for most major distros): SudokuSolver-0.2.2-alpha-linux-x64.tar.gz

If you'd like to help contribute to the project, there are plenty of tasks, including documentation tasks for non-programmers. Contact me on Discord if you're interested! (See README on main GitHub page).

SudokuSolver v0.2.1-alpha

18 May 07:30
Compare
Choose a tag to compare
Pre-release

Summary

Added missing "Solve" feature in f-puzzles integration, helper shortcut for running listen command, plus some minor bug fixes.

New Features

  • F-puzzles integration now replaces the "Solve" button, which gives a random solution to the puzzle each time it's pressed.
  • Each platform now includes an easier way to start the solver in the "--listen" mode for f-puzzles integration:
    • Windows: Double-click the SudokuSolver Listen shortcut in the extracted folder. It has a "globe" icon.
    • OSX: Double-click the SudokuSolverConsoleListen app. (Thanks to Ray Waldin for creating this)
    • Linux: Run the listen.sh shell script.

Bug Fixes

  • The solve path now shows the resulting invalid board if the solve was invalid.
  • The solve path prints a final "No logical steps found." if the resulting board is not solved.
  • The OSX distribution is now a tar.gz so that it respects executable permissions.

IMPORTANT

If you already have v0.2.0-alpha or earlier, you will need to update your user script with the new one in this distribution (Fpuzzles-SudokuSolver.user.js)

BEHAVIOR CHANGE

If you are upgrading from v0.1.2-alpha or earlier, there is a behavior change for the f-puzzles integration:
Connecting the f-puzzles site to the solver no longer automatically turns on the "True Candidate" feature. Instead, there is a new toggle button in the f-puzzles solver console panel, which appears only while connected.

Choose your release based on your platform:

  • The majority of Windows users will want: SudokuSolver-0.2.1-alpha-win-x64.zip
  • Windows 10 ARM64 users (such as Surface Tablets): SudokuSolver-0.2.1-alpha-win10-arm64.zip
  • Mac OSX users (no ARM64 support yet but works with Rosetta): SudokuSolver-0.2.1-alpha-osx-x64.zip
  • Linux users (should work for most major distros): SudokuSolver-0.2.1-alpha-linux-x64.tar.gz

If you'd like to help contribute to the project, there are plenty of tasks, including documentation tasks for non-programmers. Contact me on Discord if you're interested! (See README on main GitHub page).

SudokuSolver v0.2.0-alpha

17 May 12:44
Compare
Choose a tag to compare
Pre-release

Summary

Major f-puzzles integration improvements, plus solver bug fixes.

New Features

  • F-puzzles integration now replaces the functionality of all solver buttons (after connecting).
  • Supported operations: Solution Path, Step, Check, and Solution Count (with progress).
  • Solve operations do not stall the browser :)
  • Option to use "simple logic" when stepping or getting the solve path. This turns off non-trivial contradictions.

Bug Fixes

  • Fixed Kropki negative constraints applying across markers in some instances.
  • Clones now provide logical step strings.
  • Naked singles are now more consistently reported in the logical steps.

IMPORTANT

If you already have v0.1.2 or earlier, you will need to update your user script with the new one in this distribution (Fpuzzles-SudokuSolver.user.js)

BEHAVIOR CHANGE

Connecting the f-puzzles site to the solver no longer automatically turns on the "True Candidate" feature. Instead, there is a new toggle button in the f-puzzles solver console panel, which appears only while connected.

Choose your release based on your platform:

  • The majority of Windows users will want: SudokuSolver-0.2.0-alpha-win-x64.zip
  • Windows 10 ARM64 users (such as Surface Tablets): SudokuSolver-0.2.0-alpha-win10-arm64.zip
  • Mac OSX users (no ARM64 support yet but works with Rosetta): SudokuSolver-0.2.0-alpha-osx-x64.zip
  • Linux users (should work for most major distros): SudokuSolver-0.2.0-alpha-linux-x64.tar.gz

If you'd like to help contribute to the project, there are plenty of tasks, including documentation tasks for non-programmers. Contact me on Discord if you're interested! (See README on main GitHub page).