PHP Classes

Draw Sudoku: Render Sudoku game puzzle boards

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-11-27 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,316 This week: 1All time: 2,823 This week: 916Up
Version License PHP version Categories
drawsudoku 1.0GNU Lesser Genera...3HTML, Games
Description Author

This class can be used to render boards of Sudoku game puzzles.

It can read the positions of the numbers from a text file and generate HTML tables that displays the game board.

There is also an alternative version of the class that extends Richard Monroe's DM-Sudoku class to render game boards generated by that class.

Picture of Can Ince
Name: Can Ince <contact>
Classes: 3 packages by
Country: Turkey Turkey
Age: 41
All time rank: 5097 in Turkey Turkey
Week rank: 741 Down11 in Turkey Turkey Down

DrawSudoku Class

This class can be used to generate pretty-looking sudoku tables out of an array, or a textfile including a sudoku notation converted to an array.
It can be used as an indepented class, or there's also a version running as an extension to Richard Munroe's DM-Sudoku class, which can be used to generate and print sudoku tables on the fly. 
DM-Sudoku class can be found at

DrawSudoku is published under GNU/LGPL. See the file gnu-lgpl.txt for details.

readme.txt: this file
gnu-lgpl.txt: license file
class.Sudoku.php: DM-Sudoku class.
drawSudoku.class.php: main drawSudoku class
drawSudokuExSudoku.class.php: class running as an extension to DM-Sudoku.
sudoku.css: CSS file used to format the sudoku table.
example.php: Example usage for drawSudoku.class.php
dm-SukoduExample.php: Example usage for drawSudokuExSudoku.class.php
puzzle1.txt: A copy of one of Richard Munroe's examples.

  • drawSudoku.jpg
  Files folder image Files  
File Role Description
Plain text file dm-SudokuExample.php Example Example usage for drawSudokuExSudoku.class.php
Plain text file drawSudoku.class.php Class main drawSudoku class
Plain text file drawSudokuExSudoku.class.php Class class running as an extension to DM-Sudoku
Plain text file example.php Example Example usage for drawSudoku.class.php
Plain text file gnu-lgpl.txt Lic. License file
Plain text file puzzle1.txt Data Example sudoku input file
Plain text file readme.txt Doc. Readme file
Plain text file sudoku.css Data CSS file used to format the sudoku table. 52KB
Downloaddrawsudoku-2006-11-27.tar.gz 52KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Sudoku Download .zip .tar.gz DM-Sudoku class can be used to generate sudoku tables and print it with this class. Optional
 Version Control Unique User Downloads Download Rankings  
This week:1
All time:2,823
This week:916Up