… function unitstats($unit) {
/* gets the stats of a particular unit */
$stats = array();
if ($unit == 'l') {
$stats['atk'] = 24;
$stats['def'] = 18;
} elseif ($unit == ‘e’) {
$stats['atk'] = 4;
$stats['def'] = 2;
} elseif ($unit == ’s’) {
$stats['atk'] = 12;
$stats['def'] = 4;
} elseif ($unit == ‘r’) {
$stats['atk'] = 2;
$stats['def'] = 4;
} elseif ($unit == ‘o’) {
$stats['atk'] = 12;
$stats['def'] = 6;
} elseif ($unit == ‘a’) {
$stats['atk'] = 12;
$stats['def'] = 4;
}
return $stats;
} …
… $avb = round($stats1['atk'] / $stats2['def']);
$bva = round($stats2['atk'] / $stats1['def']);
$health1 -= $bva;
$health2 -= $avb; …
Authority is an online strategy game with units and stuff, currently in development.
I’ve updated bkgset, yay. It is now better at handling different kinds of images, including ones that use transparency. The readme file is more useful. Most importantly, it also now able to resize the images to fit the resolution properly–unlike the Windows ’stretch’ option, which disregards the aspect ratio and therefore often distorts the image. This is a very useful feature (for me, at least) that I’ve been meaning to add for a while.
I imagine this wouldn’t work in Windows Vista; if you’ve got Vista, give bkgset a try (making sure you keep the windowsxp variable set to True) and let me know what happens. Also, if you happen to have a pre-XP version of Windows, it’d be nice to get some feedback on whether bkgset still works on it. All that said, I think I’m the only person who uses bkgset. Let me know if you do.
bkgset is a tool for randomly setting Windows wallpapers.
Development is going strong.


Authority is an online strategy game with units and stuff, currently in development.
This time, a proper mockup of the main game page, which makes it more clear what this game is about. Click it for full-size image. 
Authority is an online strategy game with units and stuff, currently in development.
This is the first release of Opinionated (the software). Everything you need is included in the zip: edit the variables in connect.php to suit your database, edit the $settings array in start.php to customise the strings, and import the contents of opinionated.sql into a new database.
Note: there is an extra array key you can customise that is not included by default in the source release: submittext. This defines a message displayed on the ’submit’ page: to use it, add something along the lines of
'submittext' => '<p>By submitting this entry, you agree to our rules of use</p>',
to the array definition.
Download
Opinionated is a very simple content submission and rating system.
Opinionated is my new project and an experiment in democracy and content. Here anyone can (once they have signed up) post opinions of any kind—links, humour, insight, whatever—andother people can rate it. This is a minimalistic project, so there’s not much in the way of fancy features. Work out the navigation for yourself. Visit it, sign up, have your say, and help sort the wheat from the chaff.*
* at time of writing, it’s all chaff.
Opinionated is a very simple content submission and rating system.
http://territory.maestrosync.com/
http://territory.maestrosync.com/
http://territory.maestrosync.com/
http://territory.maestrosync.com/
http://territory.maestrosync.com/
Territory is an abstract online strategy game.