Sudoku Solver/Generator Source-Code


Here’s some straight-to-the-point source-code for solving and generating Sudoku boards.
It’s targeted at embedded systems, so stuff will run fast and memory consumption is rather low.

I’m putting it here mainly so that people can find it through google and have some of the Sudoku programming-problems solved. The source-code is heavily commented, so hopefully it’ll do some good.

Here we go:

common.h, os.h (just common stuff)
Board.h, Board.cpp (The core stuff)
SudokuZen.cpp (Usage example)

A package that may compile: SudokuZen.zip
The picture was drawn by my brother, for a game we never released.

4 thoughts on “Sudoku Solver/Generator Source-Code

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>