PHP (category archive)Page 2 of 3

Authority: Now, It’s Blue (And Getting More Functional)

authority screenshot

Categories: Projects » Games » Authority and Programming » PHP
Authority is an online strategy game with units and stuff, currently in development.

maestro: /me is about to post some mostly decontextualised code on the blag.

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;

Categories: Projects » Games » Authority and Programming » PHP
Authority is an online strategy game with units and stuff, currently in development.

2x Authority screenshots

Development is going strong.
screenshot 1
screenshot 2

Categories: Projects » Games » Authority and Programming » PHP
Authority is an online strategy game with units and stuff, currently in development.

Authoriblag

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 mockup

Categories: Projects » Games » Authority and Programming » PHP
Authority is an online strategy game with units and stuff, currently in development.

Authorise!

“What’s Authority?”
It’s the new online game I’m creating: somewhat of a followup to Territory that focuses on and adds new elements to the Territory concept.
“Yeah, but… what is it?”
I’ll avoid making any specific comments about it because I can’t be sure what components I will ultimately include. Also, I like being mysterious. With that, I present you a rather stylish mockup of what a section of the game map would look like:
“Question leading on to further advertising.”
I’m glad you asked. It may look complex, but it is actually quite simple once you know the rules.

So, stay tuned for Authority.

Categories: Projects » Games » Authority and Programming » PHP
Authority is an online strategy game with units and stuff, currently in development.

First Opinionated release

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

Categories: Projects » Web applications » Opinionated and Programming » PHP
Opinionated is a very simple content submission and rating system.

Opinionated

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.

Categories: Projects » Web applications » Opinionated and Programming » PHP
Opinionated is a very simple content submission and rating system.

territorieeeeeee

http://territory.maestrosync.com/
http://territory.maestrosync.com/
http://territory.maestrosync.com/
http://territory.maestrosync.com/
http://territory.maestrosync.com/

Categories: Programming » PHP and Projects » Games » Territory
Territory is an abstract online strategy game.

More Territory screenshots

Not a lot to see.
screenshot 1
screenshot 2

Categories: Programming » PHP and Projects » Games » Territory
Territory is an abstract online strategy game.

Internet-term generator

Internet-term generator.

“interolex”

Categories: Humour, Projects » Web applications » Internet-term generator and Programming » PHP
Internet-term generator is a little thing that randomly generates a new name for the internet.