Skip to content

A Java package that is able to generate hundreds of thousands of distinct Sudoku puzzles per minute in five distinct levels of difficulty. All puzzles and their solutions are stored in a dedicated PostgreSQL database.

Notifications You must be signed in to change notification settings

NMoro811/SudokuDBGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Puzzle Generator

This project consists of a Java package that is able to generate hundreds of thousands of distinct Sudoku puzzles per minute and for different levels of difficulty.

Features:

  • A Backtracking Algorithm to solve all kinds of Sudoku puzzles and check whether they have unique solutions or determine their difficulty level.
  • A Las Vegas algorithm that generates fully-solved Sudoku grids (called "terminal patterns") under a given time limit.
  • An algorithm to generate puzzles of 5 different levels of difficulty from a terminal pattern and create up to billions of combinations of the same puzzle.
  • Every puzzle and its corresponding solution are both stored in a dedicated PostgreSQL database as strings for easy accessibility across all kinds of larger-sized projects. Moreover, each puzzle is assigned an initial random rating out of 5.

Literature

Main reference: http://zhangroup.aporc.org/images/files/Paper_3485.pdf

About

A Java package that is able to generate hundreds of thousands of distinct Sudoku puzzles per minute in five distinct levels of difficulty. All puzzles and their solutions are stored in a dedicated PostgreSQL database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages