JSoko
JSoko is a Java program for playing the Sokoban game.
It's developed as an open source program at www.sourceforge.net
Current version of JSoko is 2.30
Suggestions or any questions? Write to: JSoko(at)mail.de
Sokoban News
0 ) { $listisfiltered = "bytag"; $articles = []; foreach ($tmparticles as $article){ foreach ( $tagsfilter as $tag ){ if ( in_array($tag, array_filter(explode(',', $article['tags']))) ){ $articles[] = $article; break; } } } } else if ( $authorfilter !== "" ) { $listisfiltered = "byauthor"; $articles = []; foreach ($tmparticles as $article){ if ( strtolower($article['author']) == strtolower($authorfilter) ) { $articles[] = $article; } } } else { $articles = $tmparticles; } $numberofarticles = count($articles); if ( $firstArticle < 0 || $firstArticle > $numberofarticles ){ $firstArticle = 0; } // function to sort articles by sortdate if( !function_exists("cmp") ) { function cmp($a, $b) { global $sortorder; if ( $sortorder == "asc" ){ return strcmp($a['sortdate'], $b['sortdate']); } else{ return strcmp($b['sortdate'], $a['sortdate']); } } } // print tag filters if( !function_exists("handleTags") ) { function handleTags($usedTags, $filteredTags, $articleId = "0"){ $tagList = array_filter(explode(',', $usedTags)); $tagList = array_unique($tagList); sort($tagList); $ret = ''; foreach ($tagList as $tag){ $tmpClass = ""; if ( in_array($tag, $filteredTags) ){ $tmpClass = ' selected'; } $ret = $ret . '' . $tag . ''; } return $ret; } } // sort articles by publish-date usort($articles, 'cmp'); ?>">
0 ) { ?>
0 ){
$tagFound = false;
foreach ( $tagsfilter as $tag ){
if ( in_array($tag, array_filter(explode(',', $article['tags']))) ){
$tagFound = true;
}
}
if ( !$tagFound ){
continue;
}
}
?>
= $article['articletext'] ?>
0 && $i >= ($maxarticles+$firstArticle) ){
break;
}
} ?>
$maxarticles ){ ?>
= $article['name'] ?>
0 ){ ?> Previous page Next page
Sokoban e-mail group
Visit: Sokoban group
Acknowledgements
JSoko is developed with the help of the YourKit Java Profiler.
YourKit is kindly supporting open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit's leading software products:
