Notes:
Place the tar archive in your home directory and unzip and unpack it with the following command:
tar -xz < sudoku-perl-1.00.tar.gz
this will create the directory sudoku in which the above files.
(on windows use a unzip program that reads tar files for instance 7-zip)
Environment
This program needs Perl to be installed on the machine.
The program was written on a Linux machine using Perl
v5.6.1. It was ported to a Windows 95 machine having perl
5.6.1 from ActiveState and run from a "DOS" screen. I
expect it to run on other windows releases too. Also I
hope it will run on a Unix machine.
CPAN prerequisites, if not present in your installation of
perl the following modules from CPAN must be installed:
(CPAN -> Comprehensive Perl Archive Network)
TERM::ANSIScreen
for Windows are needed from CPAN, on top of this:
Win32::Console
and
Win32::Console::ANSI
Changes:
Updated release, minor changes and one enhancement:
If the option -d is set, the program , when solving the sudoku, does not stop at the first solution found, but tries to find other solutions up to a maximum of 10.
( solving the sudoku is invoked by entering Ctrl-x )
So the program can be used to test a given sudoku for having one solution or more. A logfile is used to store found solutions.
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use