- From: Melvin Carvalho <melvincarvalho@gmail.com>
- Date: Sun, 21 Nov 2010 00:00:53 +0100
- To: Toby Inkster <tai@g5n.co.uk>
- Cc: Semantic Web <semantic-web@w3.org>, Linked Data community <public-lod@w3.org>
On 20 November 2010 20:13, Toby Inkster <tai@g5n.co.uk> wrote:
> On Sat, 20 Nov 2010 18:28:24 +0100
> Melvin Carvalho <melvincarvalho@gmail.com> wrote:
>
>> 1. Would each 'location' be a document or a resource? Web of
>> Documents vs Web of Resources?
>>
>> 2. Could we use foaf:image and dcterms:desc for the game pages?
>>
>> 3. How would you model the link on each page?
>
> Sounds like a pretty awesome idea. I'd personally model it like this:
>
> <#node1>
> a game:Node ;
> foaf:name "Dark Cave" ;
> foaf:depiction <...> ;
> dcterms:description "..." .
>
> I'd say that game:Node is not disjoint with foaf:Document. That gives
> you flexibility - in some cases a node might be a page, and in other
> cases you might have several nodes described on the same page.
>
> Links to other places could be accomplished using:
>
> <#node1>
> game:north <#node2> ;
> game:south <otherdoc.xhtml#wasteland> ;
> game:east <http://example.net/game#node9> .
>
> The description itself would have more detailed descriptions of the
> directions like "To the south lies a desolate wasteland.". Directions
> you'd want would probably be eight compass, points plus "up", "down",
> "inside", "outside".
>
> Each node should probably also have co-ordinates (not in WGS84, but a
> made-up co-ordinate system), along the lines of:
>
> <#node1>
> game:latitude 123 ;
> game:longitude -45 .
>
> This would not be used for gameplay, but to aid authoring new nodes.
> You'd want to have your "north" triple link to a node that you could
> plausibly reach by going a short distance north.
Hi Toby
Thanks for the detailed reply. That sounds excellent, exactly what I
was looking form
In fact compass directions (plus up and down) bring add a lot to the equation.
However most book based text games will have a description added to
each link, rather than simply directions to travel. Here's a quick
example from googling 'choose your own adventure' :
http://www.iamcal.com/games/choose/room.php
I think it would be possible to bootstrap some existing stories to the
model if we could expand the idea of game:north to have a link and a
description, in this way, which I was wondering about.
Longer term, I think it would be great to start a simple adventure
game in the classic style of 'the hobbit' or 'hitchikers guide'
text/graphics based adventures from the 80s, however with the twist
that game worlds could link to multiple servers, across the web,
allowing anyone to make a 'game withing a game', or web of games.
However, that's probably a greater modeling task, so I wanted to start
more simply to begin with.
So something like
<#action1>
a game:Action
dcterms:description "Jump on the Barrel"
game:destination <http://example.net/game/node10>
I'm pretty new to modeling this stuff, so not sure how much sense that makes?
>
>> I'm not sure how the rendering would work, but perhaps it's easy
>> enough in RDFa once we have a model.
>
> I'd be happy to mock-up an interface - perhaps tonight!
>
> --
> Toby A Inkster
> <mailto:mail@tobyinkster.co.uk>
> <http://tobyinkster.co.uk>
>
>
Received on Saturday, 20 November 2010 23:03:16 UTC