W3C home > Mailing lists > Public > semantic-web@w3.org > December 2010

Re: Possible Idea For a Sem Web Based Game?

From: Melvin Carvalho <melvincarvalho@gmail.com>
Date: Wed, 1 Dec 2010 23:06:42 +0100
Message-ID: <AANLkTinNuZW5Q-27nTJOTXoV+mXSAp6gww+-kAcrSV_Q@mail.gmail.com>
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> .

I'm now using this ontology to create a game world, and have written a
quick client in PHP/ARC2.

http://drogon.me/

Try jumping in and moving around.  It's all RDF based.

I think the next thing I need to model is 'items'.

At present need to work out a way to say a location has an item.

Any thoughts on a predicate?

There are a number of possible implementations, but I think the
location document containing an item should be supported.

Eventually we'll allow players to own an item, or maybe wear/wield
etc. ... but perhaps that's a problem for another day ...

PS maybe i should start a new thread on this topic, something like
'Linked Open Gaming'?

>
> 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.
>
>> 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 Wednesday, 1 December 2010 22:09:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:40 GMT