University of Michigan Dearborn
CIS 487/587
Java inform adventure game arcade!
Select an adventure to play from the list below:
#Read the data file to get the adventure names
$filename = "files.dat";
$content_array = file($filename);
$content = implode("", $content_array);
foreach ($content_array as $value) {
$value=rtrim($value);
list($gamename,$author,$zfile) = split(",",$value);
if ($gamename != "") {
if ($zfile == "") {
print "
$gamename