error_reporting(0);
if ($_POST){
$n=$_POST["n"];
if($n>10){$n=10;}
$dim=$_POST["dim"];
$size=$_POST["size"];
}else{
$n=4;
$dim=3;
$size="Small";
}
$width=$dim*100+1;$hight=$dim*100+41;
if ($size=="Large"){$width=round($width*1.5);$hight=round($hight*1.5);}
$result="";
for ($nn=0;$nn<$n;$nn++){
if ($dim==10){
$rand=rand(1000, 1199);
}else{
$rand=rand(1000, 1999);
}
$result.="
\n";
if (floor(($nn+1)/2)*2==$nn+1){$result.="
\n";}else{$result.=" \n";} } ?>
Printable Maze GamesCreate word search puzzlesSudoku Puzzles |
print $result; ?>