Location: PHPKode > scripts > Sudoku class > sudoku-class/templateExample1.php
<?php

include_once "class.Sudoku.php" ;

$p = new SudokuTemplates() ;

$theInitialState = $p->generatePuzzleFromFile() ;

$i = new Sudoku() ;

$i->initializePuzzleFromArray($theInitialState) ;

$i->printSolution() ;

$p->printSolution() ;

?>
Return current item: Sudoku class