There are many different ways to solve a Sudoku puzzle with a computer. A previous post explained how to solve Sudoku puzzles with pencil marks and solving techniques (as a human would do), and also using brute force with or without backtracking, something only a computer can do. However, that was all too advanced and created some confusion among readers. In this post, we take a step back and use a very basic solving algorithm, which is probably the simplest way to solve a Sudoku puzzle with a computer. The algorithm applies basic logic to find unique occurrences for each puzzle gap. This will only solve Sudoku puzzles of low and medium difficulty though (maybe some difficult too).
Saturday, November 16, 2024
Wednesday, March 2, 2022
Excel Sudoku Generation Techniques: An Overview
There has been some interest and several questions around the macros used to generate and solve Sudoku puzzles published in this blog. In this post, we will review the different methods available to generate Sudoku puzzles with Excel VBA (or any other programming language), while the macros to solve Sudoku puzzles have been covered in this previous post: Excel Sudoku Solver. There are basically two ways to generate Sudoku puzzles with a computer. We can use either incremental or decremental generation.
Thursday, February 10, 2022
Excel Sudoku Solver
Friday, April 16, 2021
Excel Sudoku Pro
Excel Sudoku Pro is an improved version of the Excel Sudoku
Generator posted in this blog a couple of years ago (Excel Sudoku Generator). It creates
random Sudoku puzzles in Excel with four levels of difficulty, tracks
resolution time, error, etc. Furthermore, it allows to upload and download Sudoku
puzzles to and from the internet to share performance, challenge, and compete,
with other users. Now you can also play Sudoku Pro online. Try it out!
Saturday, January 6, 2018
Excel Sudoku Generator
In this post we see how to create Sudoku puzzles
with Excel VBA macros. Excel Sudoku Generator creates completely random puzzles
with three levels of difficulty. The VBA code uses decremental generation with algorithms
to ensure removed numbers do not compromise a unique solution, with the peculiarity
of not using any solver to do so. This version of Excel Sudoku Generator was
shared for learning purposes and is not the most efficient though. A simpler version has been created to help readers better understand the VBA code: Excel Simple Sudoku Generator. An improved
version to create professional Sudoku puzzles is also available for download here:
Excel Sudoku Pro. You can also play Sudoku Pro online now!
Popular Posts
-
In this post we see how to create Sudoku puzzles with Excel VBA macros. Excel Sudoku Generator creates completely random puzzles with three ...
-
Such a great game! In this post we learn to create the Snake game in Excel using VBA macros. There are many Excel versions of the Snake game...
-
Excel Sudoku Pro is an improved version of the Excel Sudoku Generator posted in this blog a couple of years ago ( Excel Sudoku Generator ). ...
-
Classic game! In this post we see how to create the Tic Tac Toe game in Excel using VBA macros. Despite its simplicity, Excel Tic Tac Toe is...
-
Stuck with a difficult Sudoku? Get Excel Sudoku Solver and learn the principles of solving Sudoku puzzles in Excel using VBA macros. The sol...
-
In this post we learn to make the famous Minesweeper game in Excel. It is an excellent opportunity for VBA beginners to understand FOR and D...
-
There are several ways to import data from Google Sheets into Excel. In this post we review five different methods to import data from Googl...
-
Check out the new Word Search Pro for Excel! In this post we see how to build a Word Search generator in Excel. It’s based on very simple VB...
-
This post shows how to create the Sink the Fleet Battleship game in Excel. It is a good example to work with VBA formatting, loops and con...
-
We can easily customize the Excel ribbon manually and hide certain tabs or add new tabs and buttons. However, the customization does not per...