Sudoku solver based on the initial work of Michael Kennett
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
MinGW initial import Feb 12, 2015
VC2012 initial import Feb 12, 2015
VC6 initial import Feb 12, 2015
win32 initial import Feb 12, 2015
CHANGES missing changes in changelog Mar 13, 2015
Makefile fixing makefile Mar 13, 2015
Makefile.msc initial import Feb 12, 2015
README fixing README Feb 26, 2015
sudoku.6 describing hinting function in manpage Mar 13, 2015
sudoku.c fixing cppcheck warnings Mar 13, 2015
sudoku.html initial import Feb 12, 2015
template initial import Feb 12, 2015


LICENSE: This work has been placed into the Public Domain by Michael
Kennett (July 2005), and may be freely used by anybody for any purpose
whatsoever. No warranty, of any kind, applies to this work.

** Sudoku Installation Notes (Unix/Minix)

As the root user, or with the appropriate permissions, type:

    $ make install

This will compile and install the sudoku program into /usr/bin,
install the manpage into /usr/man/man6, and the template file
into /usr/share/sudoku. It is necessary to edit the Makefile if
you want to install the program into a different location, or
on some systems, to set an alternative path for the man page.

Sudoku depends on curses library. For Windows the win32 folder contains
the necessary source files.

On Linux, the courses library is needed.
Home page:
Currently it can be 'apt-get install'-ed as libncurses5 or

Other possible way of getting it is to install the CDK.
CDK stands for "Curses Development Kit", and CDK sits
on top of the curses library. This package contains the
header files and development libraries for the CDK library.
(Home page:

Under Minix it is recommended that /etc/termcap be edited to
add 'bell' capability (see termcap(5)). This can be done by
adding a record for 'bl' in the minix console entry:

    mx|minix|minix console:\
        :bl=^G:\                       <<<< ADD THIS

** Sudoku Installation Notes (Windows)

The source distribution provides Microsoft Visual Studio (v6) project
files, along with a simple NMAKE makefile suitable for the Microsoft
compilers. The distribution does not include makefiles for other
compilers (e.g. Borland, Open Watcom, etc...), but you should have no
difficulty in using these compilers.

The Microsoft Visual Studio files are contained in the VC6 subdirectory,
and the workspace file is VC6\sudoku.dsw. Open the workspace, and compile
the project. There is an updated workspace in the VC2012 directory, and
another makefile in MinGW folder for compiling with MinGW.

Alternatively, from the command line, enter:

    > nmake /f Makefile.msc

to build the program.

Note that there is no install script for the Windows distribution, and
the program is configured to search for the template file, at runtime,
in the current working directory of the process.