public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: "Brandon J. Van Every" <vanevery@indiegamedesign.com>
To: "xconq" <xconq7@sources.redhat.com>
Subject: RE: GDL, XML and others...Re: OT Python stuff (was RE: Python in Xconq)
Date: Wed, 19 Nov 2003 23:13:00 -0000	[thread overview]
Message-ID: <OOEALCJCKEBJBIJHCNJDOEADGMAB.vanevery@indiegamedesign.com> (raw)
In-Reply-To: <20031119203627.74128.qmail@web40910.mail.yahoo.com>

Jakob Ilves wrote:
>
> this [procedural language] approach promotes game
> definitions which is hard to maintain.

But the tradeoff is that the widely used scripting languages are
procedural.  You get more people who already know the language, more
volunteers, and thus something to actually maintain.  ;-)  "I want to
tweak games in Python / Perl" is not the same sentiment as "I want to
tweak games in GDL for Xconq."  One is a wider net than the other.

> Those who don't want to do any scripting, they can stay
> strictly declarative in their game
> development which I'm bound to believe will greatly simplify
> their task.

Ok, some reality checking here.  Are a great many people developing
Xconq games in GDL?  If not, then we have to face the fact that no
matter what theoretical merits it may have as a declarative language,
people don't use it.   So you need a language that is more popular, and
in theory we could pick either a procedural or a declarative one.  The
list of likely suspects in the procedural camp is obvious.  What about
the declarative camp?  Name me a wildly popular declarative language.

> In a declarative
> language, there is no such thing as an "infinite loop" which
> hangs the application or a "system()
> call" which happens to wipe out a lot of files.  The worst
> thing that can happen is that your
> Xconq game behaves strange :').

This is a sandboxing issue, not a procedural vs. declarative issue.  If
you can find any bug that causes the declarative language to hang, or
you can alter any game resources to achieve the same effect, you can
have denial-of-service attacks.

> Another aspect is how make the AI player understand the
> scenario if parts of it consists of
> procedural code.  Of course, if the procedural code is
> executed only at the initial setup of the
> game in order to "build the setting" then it's a breeze.
> Just let the code run (perhaps
> automagically setting up some parts of the scenario such as
> adjusting starting positions, starting
> units etc, setting up unit capabilities and other "laws of
> nature" etc) and once that is done and
> all procedural code is evaluated, the AI has all it needs to
> understand the picture (because once
> the unit capabilities and other "laws of nature" has been
> defined at the start of the game they
> remain fixed from then on).

AIs are going to get written by whomever in their favorite language.
Trying to force procedural vs. declarative languages on an AI programmer
is irrelevant.  It's a huge amount of work, the programmer will
inevitably choose the language he likes, or find a different project to
contribute to.

> One solution can be to define a small language, perhaps a
> subset of an existing language and then
> bite the bullet and create an interpreter for that language.

Of course, you didn't volunteer to implement any of your brainstorms, so
that's quite a primrose path you're laying out for others.  Solving
perceived problems by writing scripting languages from scratch is utter
foolishness.

> So what I envision is a file with XGDL, containing (or
> loading external files with) snippets of
> ECMAscript being used in order to setup certain things like
> terrain/units or carrying out certain
> adjustments/interpolations/extrapolations of things which
> would be tedious to do by hand in the
> XGDL code.  Also, one can use XML events to create small
> triggers to be executed to test for
> victory and so on.

I can't comment, I'm not a XML guy.  I think your vision is flawed in
that you're not volunteering to implement it, and it sounds like a lot
of work.

> Oh, anyone for using SVG to define the graphics...  I swear,
> SVG is the coolest thing since sliced
> bread.  Antialiazed vectored graphics, in XML.  Imagine
> scaling the units to different sizes in
> that (works LOVELY :-) and even changing their different orientations.

Might be a good web-oriented approach.  When I last looked at SVG it
wasn't ready for prime time, but I can't remember if that was 1 or 2
years ago.  I'm not up on it lately.  I'm also not a web-oriented
developer.  You'd need to scare those up to do those kinds of things.

> Ok, enough on this thread, I'm getting carried away...
>
> aka Jakob Ilves, who don't have time to develop Xconq a bit
> but in spite of that insists on having
> ideas and opinions ;-D.

Indeed!  Back to Earth, flyboy. ;-D


Cheers,                     www.indiegamedesign.com
Brandon Van Every           Seattle, WA

Taking risk where others will not.

  reply	other threads:[~2003-11-19 22:44 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-17 15:42 Marketing Xconq? Bill Macon
2003-11-17 18:55 ` Marketing Xconq? + battle isle suggestion Andreas Bringedal
2003-11-17 22:04   ` better Windows UI Brandon J. Van Every
2003-11-18  3:12     ` Erik Jessen
2003-11-17 21:56 ` Marketing Xconq? Eric McDonald
2003-11-17 22:38   ` Brandon J. Van Every
2003-11-18  3:15     ` Erik Jessen
2003-11-18  3:39       ` New Interpreter (was RE: Marketing Xconq?) Eric McDonald
2003-11-18  4:01         ` Erik Jessen
2003-11-18  4:05           ` Eric McDonald
2003-11-18 10:37             ` setgid (was: RE: New Interpreter (was RE: Marketing Xconq?)) Lincoln Peters
2003-11-18 15:52               ` Jim Kingdon
2003-11-18  5:17       ` Python in Xconq Brandon J. Van Every
2003-11-18 11:33         ` Erik Jessen
2003-11-18 13:37           ` OT Python stuff (was RE: Python in Xconq) Mark A. Flacy
2003-11-19 15:08             ` Erik Jessen
2003-11-19 16:44               ` Bruno Boettcher
2003-11-19 17:58                 ` Eric McDonald
2003-11-19 21:18                   ` GDL, XML and others...Re: " Jakob Ilves
2003-11-19 23:13                     ` Brandon J. Van Every [this message]
2003-11-20  5:12                     ` Eric McDonald
2003-11-20  8:54                       ` Bruno Boettcher
2003-11-20 11:01                         ` Jakob Ilves
2003-11-20 11:19                           ` Brandon J. Van Every
2003-11-20 12:59                             ` Jakob Ilves
2003-11-20 13:54                               ` One Hex Combat Resolution, and jeweled teeth Brandon J. Van Every
2003-11-20 17:06                                 ` Eric E Moore
2003-11-20 17:37                                   ` Jakob Ilves
2003-11-20 17:47                                     ` Emmanuel Fritsch
2003-11-20 19:53                                     ` Eric E Moore
2003-11-21  2:16                                   ` Eric McDonald
2003-11-21  3:03                                     ` What is Python really good for? Brandon J. Van Every
2003-11-20 11:36                           ` GDL, XML and others...Re: OT Python stuff (was RE: Python in Xconq) Bruno Boettcher
2003-11-20  4:38                   ` Erik Jessen
2003-11-20 10:19                     ` cheating Brandon J. Van Every
2003-11-21  1:46                       ` cheating Eric McDonald
2003-11-21  2:32                         ` cheating Brandon J. Van Every
2003-11-21  9:30                           ` Managing "Designers disgust". cheating Jakob Ilves
2003-11-21  9:33                             ` Brandon J. Van Every
2003-11-21 12:36                               ` Jakob Ilves
2003-11-21 14:28                                 ` Brandon J. Van Every
2003-11-19 22:14                 ` OT Python stuff (was RE: Python in Xconq) Brandon J. Van Every
2003-11-20  3:10                 ` Erik Jessen
2003-11-18  1:13   ` Marketing Xconq? Dr Eric Edward Moore
2003-11-18  1:31     ` Eric McDonald
2003-11-18  2:34       ` Lincoln Peters
2003-11-18  3:11         ` Eric McDonald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OOEALCJCKEBJBIJHCNJDOEADGMAB.vanevery@indiegamedesign.com \
    --to=vanevery@indiegamedesign.com \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).