SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Overview

Ssudg (Simple Sudoku Generator) is a simple program that generates Sudoku puzzles, in which the object is to fill a 9 * 9 grid (composed of nine 3 * 3 grids) with the digits 1 - 9 in such a way that each row, column, and component 3 * 3 grid contains each digit exactly once; some cells are initially given.

Usage

Just run 'ssudg'

Output

Ssudg prints a randomly generated Sudoku puzzle. Note that the output format is compatible with the input format of Ssuds (Simple Sudoku Solver) v0.1.1 so although Ssudg does not provide solutions, one can just run 'ssudg | ssuds'.

Logic

Ssudg currently has no notion of the difficulty of solving a given Sudoku; the output is completely (pseudo) random. The program is supposed to (and does, AFAIK) guarantee that its Sudokus have unique solutions.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.