All Projects → SunnieShine → Sudoku

SunnieShine / Sudoku

Licence: MIT, CC-BY-4.0 licenses found Licenses found MIT LICENSE-CODE CC-BY-4.0 LICENSE-WIKI
A sudoku solver using brute forces and logical techniques.

Programming Languages

C#
18002 projects
powershell
5483 projects
Vim Snippet
174 projects

Projects that are alternatives of or similar to Sudoku

Hodoku
Hodoku is a solver/generator/trainer/analyzer for standard sudoku.
Stars: ✭ 49 (+0%)
Mutual labels:  sudoku
Resolvedor-de-Sudoku
Resolver Sudoku de genina.com
Stars: ✭ 17 (-65.31%)
Mutual labels:  sudoku
Sudoku
The classic game in its brand new, modern shape. Badges, points & leaderboards included.
Stars: ✭ 13 (-73.47%)
Mutual labels:  sudoku
sudokufx
AR Sudoku grabber and solver using JavaCV, JavaFX and Scala
Stars: ✭ 64 (+30.61%)
Mutual labels:  sudoku
sudoku
A very fast Java Sudoku library implementation along with a command line client
Stars: ✭ 15 (-69.39%)
Mutual labels:  sudoku
neuro-symbolic-sudoku-solver
⚙️ Solving sudoku using Deep Reinforcement learning in combination with powerful symbolic representations.
Stars: ✭ 60 (+22.45%)
Mutual labels:  sudoku
Sudoku-Solver
🎯 This Python-based Sudoku Solver utilizes the PyGame Library and Backtracking Algorithm to visualize and solve Sudoku puzzles efficiently. With its intuitive interface, users can input and interact with the Sudoku board, allowing for a seamless solving experience.
Stars: ✭ 51 (+4.08%)
Mutual labels:  sudoku
sudoku
Multiplayer concurrent sudoku. The winner is the player who fills the last cell correctly.
Stars: ✭ 15 (-69.39%)
Mutual labels:  sudoku
ConstraintSolver.jl
ConstraintSolver in Julia: Blog posts ->
Stars: ✭ 107 (+118.37%)
Mutual labels:  sudoku
sudoku
A Sudoku web app in React.
Stars: ✭ 50 (+2.04%)
Mutual labels:  sudoku
hsudoku
A native gtk sudoku game written in haskell
Stars: ✭ 31 (-36.73%)
Mutual labels:  sudoku
imgui
Dear ImGui Addons Branch = plain unmodified dear imgui plus some extra addon.
Stars: ✭ 348 (+610.2%)
Mutual labels:  sudoku
PlaySudoku
PlaySudoku, a web sudoku game.
Stars: ✭ 25 (-48.98%)
Mutual labels:  sudoku
sudoku-solver
A simple sudoku solver
Stars: ✭ 16 (-67.35%)
Mutual labels:  sudoku
sudoLite
一款轻巧、趣萌、界面精美,具备统计、排行(即将推出),开源、免费、无广告的数独小程序
Stars: ✭ 55 (+12.24%)
Mutual labels:  sudoku
python-sudoku-generator-solver
Python based sudoku generator that can create unique Sudoku board based on 4 difficulty levels. This code also includes a brute force sudoku solver that is capable of solving even the most difficult sudoku puzzles!
Stars: ✭ 58 (+18.37%)
Mutual labels:  sudoku
语言切换:简体中文

Sudoku Studio1

stars issues license

bilibili

Introduction

A sudoku handling SDK using brute forces and logical techniques. Now this solution supports generating puzzles, solving puzzles (with logical & illogical techniques) and some attribute checking (for example, to determine whether the specified grid is a minimal puzzle, which will become multiple solutions when any a digit is missing).

Sample

Here I give you a sample to demonstrate how to solve a puzzle using manual sudoku techniques.

Extra description

In the future, I'd like to apply this solution to almost every platform. I may finish the Win10 app project, android app project, bot on common on-line platforms (QQ, Bilibili and so on).

Please note that the programming language version is always used as 'preview', which means some preview features are still used in this solution.

You can also use JetBrains Rider as your IDE. Use whatever you want to use, even Notepad :D Although C# contains some syntaxes that are only allowed in Visual Studio (e.g. keyword __makeref), this repo doesn't use them. Therefore, you can use other IDEs to develop the code in this repo liberally.

In addition, the framework and IDE version may update in the future; in other words, they aren't changeless. The information is for reference only.

Repository Positioning

This repositoty is created for the following kinds of users:

  • who likes sudoku algorithms: If you like to study for sudoku techniques and its backing implementation and running mechanism, you can find answer in this repository.
  • who wants to learn about C#-related features: This repository uses some C# newer features and .NET-related features such as WinUI (Please visit branch winui-reserved) and MAUI, which can help you learn more about it as practicing.
  • myself: The codes are very important for me to learn sudoku and algorithms.

Prefaces

Command line:

UI:

Technique Supports

This solution supports many kinds of human-friendly techniques. Here I will list them.

  • Singles
    • Naked Single, Full House
    • Hidden Single, Last Digit
  • Candidate-Related Techniques
    • Locked Candidates Family
      • Locked Candidates
      • Almost Locked Candidates
      • Firework Subsets (Hanabi)
    • Subsets
      • Naked Subsets
      • Hidden Subsets
    • Fishes (including finned types)
      • Normal Fishes
      • Complex Fishes (Franken, Mutant)
    • Single-Digit Structures
      • Two-Strong-Links
      • Empty Rectangle
    • Wings
      • Regular Wing (XY-Wing, XYZ-Wing, etc.)
      • Irregular Wing2
        • W-Wing (Basic, Grouped, Multi-Branch)
        • M-Wing
        • Local-Wing
        • Split-Wing
        • Hybrid-Wing
        • Purple Cow
    • Uniqueness
      • Unique Rectangle
      • Unique Loop
      • Extended Rectangle (Including fit types and fat types)
      • Unique Polygon (i.e. Borescoper's Deadly Pattern)
      • Qiu's Deadly Pattern
      • Unique Square
      • Bi-value Universal Grave
      • Reverse Unique Rectangle
      • Uniqueness Clue Cover (Only for type 23)
      • RW's Deadly Pattern
    • Alternating Inference Chains
      • Single-Digit AICs
      • Multi-Digit AICs
      • Grouped AICs (Waiting for bugs fixed)
    • Almost Locked Sets
      • Chaining ALSes (Including ALS-XZ, ALS-XY-Wing, ALS-W-Wing)
      • Empty Rectangle Intersection Pair
    • Rank Logics
      • Positive or 0 -Rank Logics
        • Sue de Coq (Including basic type, isolated digit type and cannibalistic type)
        • 3-Dimensional Sue de Coq
        • Domino Loop
        • Exocets
          • Junior Exocet
        • Multi-Sector Locked Sets
      • Negative Rank Logics
        • Guardian
        • Bi-value Oddagon
        • Tri-value Oddagon
    • Symmetrical Placements
      • Gurth's Symmetrical Placements
    • Last Resorts
      • Bowman's Bingo
      • Computer Algorithms
        • Pattern Overlay
        • Templating
        • Brute Force

Some other techniques will be implemented later, such as senior exocets, unknown covering, death blossom, forcing chains and dynamic chains.

Forks & PRs (Pull Requests) for This Repo

Of course you can fork my repo and do whatever you want. You can do whatever you want to do under the MIT license. However, due to the copy of the GitHub repo, Gitee repo doesn't support any PRs. I'm sorry. But you can create the issue on both two platforms. Please visit the following part "Basic Information" for learning about more details.

In addition, this repo may update frequently (At least 1 commit in a day).

Planning

Please visit this link for more information.

Open source license

Codes

The codes in this repository uses MIT license, which means you should mention the copyright of the author of the repository if you want to use code snippet in this repository.

Special project: Sudoku.Recognition

This project uses some APIs and source code from repo EmguCV. Therefore, the project uses a standalone open-source license. For more information please visit the file LICENSE in that project in source code.

Wiki pages

The repository also lists many wiki pages, being stored in the folder docs. In addition, files README.md and README-zh-cn.md (as Chinese translation version) are also included as wiki pages. Those pages uses CC-BY-4.0 license to constraint your usage and copyright statements on this repository. You should mention the copyright of the author in this repository and give the state changes after modified the content in the copied one if you want to use the Wiki pages.

Code of Conduct

Please see file CODE_OF_CONDUCT.

Sudoku Technique References

Here we list some websites about sudoku techniques that I used and referenced. The contents are constructed by myself, so if you want to learn more about sudoku techniques that this solution used and implemented, you can visit the following links4 to learn about more information.

Author

Sunnie, from Chengdu, is a normal undergraduate from Sichuan Normal University. I mean, a normal university (Pun)

Please visit file CONTACTS to contact me if you want.

Footnotes

  1. The old name of the repository is "Sunnie's Sudoku Solution".

  2. W-Wing is implemented by a single technique searcher type, while other irregular wing types are implemented by AIC searchers.

  3. Because only type 2 contains a valid test example.

  4. I'm sorry that those pages are only written in Chinese. However, I may create pages written in other languages in the future.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].