Newer
Older
Import / web / www.xiaofrog.com / games / sudoku / sudoku.php
@John Ryland John Ryland on 22 Dec 2020 379 bytes import NUC files
<?php
/*
    Sudoku Puzzle generator
    (C) Copyright 2007
    John Ryland <jryland@invertedlogic.com>

    ALL RIGHTS RESERVED
*/

$tmp = exec("uname", $uname);
if ( $uname[0] == "Darwin" ) {
    $tmp = exec("./sudoku-mac-x86", $possibles);
} else if ( $uname[0] == "Linux" ) {
    $tmp = exec("./sudoku-linux-x86", $possibles);
}
echo implode(" ", $possibles);
echo "\n";

?>