1. Corewars on Linux

I wanted to try out Rod's corewars, but unfortunately it has a few
problems running on the Linux platform.

The first problem is in get.e.  It doesn't treat Linux carriage-returns as
blank space so get() will die if a sequence spans multiple lines.  The fix
is easy - just add \r in skip_blanks() in get.e.  Rob, you may want to
make a note of fixing this for the next Eu Linux release.

The second problem is graphics.  Is there any chance of a text-only
version of corewars?

Later,
 _______  ______  _______  ______
[    _  \[    _ ][ _   _ ][    _ ]
[/| [_] |[/| [_\][/ | | \][/| [_\]
  |  ___/  |  _]    | |     |  _]
[\| [/]  [\| [_/] [\| |/] [\| [_/]
[_____]  [______] [_____] [______]
xseal at harborside.com  ICQ:13466657
http://www.harborside.com/home/x/xseal/euphoria/

new topic     » topic index » view message » categorize

2. Re: Corewars on Linux

Pete Eberlein writes:

> The first problem is in get.e.  It doesn't treat Linux
> carriage-returns as blank space ...

Thanks. I ran into this myself last week and fixed it
for the upcoming alpha release.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » goto parent     » topic index » view message » categorize

3. Re: Corewars on Linux

Pete Eberlein wrote:

>The second problem is graphics.  Is there any chance of a text-only
>version of corewars?

Well, there seems to be two approaches to this...

The first is to simply leave out any graphical display of what's
happening, and just announce the winner. Not very flashy, but it
could be arranged if you want.

But I suspect you're looking for the second approach: substituting
text characters for pixels. I would like to do that, but I'm not
sure it's possible on an 80 x 25 screen... fitting 10000 memory
addresses into 2000 screen units could be done, but at loss of
accuracy, plus you'd have no room left over for text (names of
players, who won, commands, etc.)

(Of course, I *could* just make the Linux version of the game be
limited to a 2000 (or even 1000) address virtual memory, but I
think that would have an enormous impact on the gameplay.)

Do you have any particular suggestions, or would a simple
display-free version be suitable?


Rod

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu