Source for coding/chess.php:
<?php
ini_set('include_path', ini_get('include_path') . ':/home/benm/public_html');
include 'http_header.php'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<?php $f = "coding/chess"; //basename(__FILE__, ".php");
include 'head.php'; ?>
<title>chess - coding - ben's machinery</title>
</head>
<body>
<?php include 'title.php' ?>
<h2>Chess</h2>
<p class="box">The still-nameless chess program was my first real attempt at a stnadalone application: it features a mouse-enabled GUI, the ability to read algebraic chess notation, [almost] full move logging, and several different output methods.
Although it is still simple at this stage, the engine itself is well-tested and functional. <br/>
It has a Subversion repository at <a href="http://www.bandstand.org.uk/~benm/chess-svn/">http://www.bandstand.org.uk/~benm/chess-svn/</a> which has gone through 81 revisions to date.
The Makefile builds a maximum of three executables, each from two common C files, one header file, and a third C file that differs between them. ui_ansi.c, and the Makefile target chess-ansi, should build most places, and only uses libc as far as I know.
ui_allegro.c and ui_cairo.c both use external libraries (<a href="http://alleg.sourceforge.net">Allegro</a> and, equally unsurprisingly, <a href="http://cairographics.org/">Cairo</a>), although the latter never made it to a usable state.
</p>
<?php include 'footer.php' ?>
</body>
</html>