public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: Eric McDonald <mcdonald@phy.cmich.edu>
To: "Jakob Ilves" <illvilja@yahoo.com>
Cc: bboett@adlp.org, <xconq7@sources.redhat.com>
Subject: Re: GDL, XML and others...Re: OT Python stuff (was RE: Python in Xconq)
Date: Thu, 20 Nov 2003 05:12:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0311192245560.747-100000@leon.phy.cmich.edu> (raw)
In-Reply-To: <20031119203627.74128.qmail@web40910.mail.yahoo.com>

On Wed, 19 Nov 2003, Jakob Ilves wrote:

>  I'm also rude 
>enough to brainstorm about Xconq in
> spite of the fact that I don't have time to implement any of my 
>ideas.

I personally don't consider this rude. You are making thoughtful 
contributions to the discussion. Thank you.

>  (or even have time to run
> one single test game of "Bellum Aetarnum".)

When you get a chance. :-)

> First of all: Be careful when dismissing the declarative 
>characteristics of GDL.  The fact that
> GDL in itself isn't a procedural language is a STRENGTH, not a 
>weakness.  Replacing the ENTIRE
> game module language with a procedural language like Python, 
>Perl, Tcl, Ficl (sp?), Javascript etc
> is overkill if all you want to achieve is the ability of doing 
>a few "if-then-else" or "foreach"
> things here and there.  It's even overkill if you want to do 
>more elaborate coding here and there
> in the Xconq game definition.

I agree.

> Sure, you can do "anything" with Procedural languages but that 
>"anything" includes shooting
> yourself in the foot in the most amazing ways, especally if the 
>procedural language is the only
> thing available for creating Xconq games (that is, if there's 
>no declarative language).  

Yes, this is true.

> Javascript etc) code.  Of course, such code is added only _if 
>needed_ by the game developer! 
> 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.

I agree.

> call" which happens to wipe out a lot of files.  The worst 
>thing that can happen is that your
> Xconq game behaves strange :').

Been there. Done that. :-)

Actually, I have been able to create crashes with GDL. Setting a 
certain value to 0, for example, and then finding out that Xconq 
divides by that value somewhere without checking to see if it is 0 
first. But this is rare.

> Another aspect is how make the AI player understand the 
>scenario if parts of it consists of
> procedural code.  

Yes. Stan alludes to this in his recent comments. Also, this is 
discussed in the "GDL Design Decisions" section of the Xconq 
Hacking Manual:
  http://sources.redhat.com/xconq/manual/hacking_9.html#SEC9

> other side, then the AI will have a hard time (harder than 
>usual ;') 

:-)

> loops infinitely.  Actually, a potential way to sabotage the 
>game intentionally :'(.

Yes. I have also expressed this concern.

> bite the bullet and create an interpreter for that language.  
>How complex language do we need for
> standing orders?

Not very. That is why I suggested merely extending the standing 
orders syntax.

> Are different languages appropriate?  I think so.  The standing 

As do I.

> Also, what about those small additions which can help a lot.  
>We don't need to add full procedural
> capacity to GDL for removing several issues for game creators.  

Absolutely. And this is the development path I certainly favor.

>For instance, the ability to use
> more primitive stuff like arithmetic expressions, if-then-else, 
>case expressions etc and so on
> might go a long way.

Yes. And if one incorporates certain arithmetic expressions into 
GDL, the AI need not get confused, because the expression would be 
evaluated when it was interpreted and the underlying data 
structure would be manipulated accordingly....

All I really had in mind would perhaps look something like this:
(table fire-hit-chance
  (u* u* :hit-chance:*50%)
)
which would reference all entries in the hit-chance table and 
multiply them by 0.5, and store the results in the corresponding 
fire-hit-chance entries.

> Even if I like Perl and find it highly productive and useful I 
>would NOT like to have it replace
> GDL!

I don't think I would either.

> However, there is XML.  What GDL do today can be carried out by XML tomorrow or rather, we can
> defined an XML language called XGDL, eXtensible Game Design Language.  Given the immense support
> for XML in the industry, there's plenty of open source tools and libraries etc one can use to to
> create an XML parser for XGDL so it can read scenarious in XML.  

The section I cited above:
  http://sources.redhat.com/xconq/manual/hacking_9.html#SEC9
also demonstrates how GDL is less cumbersome to deal with.

> For tiny snippets of procedural code, one can use ECMAscript 
>(aka Javascript).  Sure, not the most
> fantastic language. 

I will look at it. Thanks for the suggestion.
(I now have quite a bit of reading to do this weekend.)

> 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.
> 
> Ok, enough on this thread, I'm getting carried away...  (Should not have mentioned SVG.  Oh,
> fantastic SVG ;-).

I will look at it. Thanks for the suggestion.
(I now have even more reading this weekend.)

> 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.

That is not a crime, especially if you have a family. And to be 
honest, there are some days that I don't feel like working on 
Xconq, so I just play it. ;-)

Thanks again for your thoughts; I think you have the right idea 
(IMO) about many things.

  Best regards,
   Eric

  parent reply	other threads:[~2003-11-20  4:38 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
2003-11-20  5:12                     ` Eric McDonald [this message]
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=Pine.LNX.4.44.0311192245560.747-100000@leon.phy.cmich.edu \
    --to=mcdonald@phy.cmich.edu \
    --cc=bboett@adlp.org \
    --cc=illvilja@yahoo.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).