Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[7DRL] Defender

2 views
Skip to first unread message

Ilya Bely

unread,
Dec 5, 2006, 11:14:45 PM12/5/06
to
Hi there!

I hadn't adequate amount of free during all previous 7DRL challenges,
so I decided to make a 7DRL when I have a chance, as it's unclear if
I'll be able to take a part in future challenges.

So, I'm starting today. So, if I'll succeed, the final version will be
released before Wensday, 13 December 2006, 16:00 local time.

The game will be implemented in python, using curses for I/O. I'm
afraid it may not work in some marginal operation systems such as
Windows.


The story:

You are a mighty and skilled warrior, having fought in many
wars, battles and duels, slaying countless foes in the name of whomever
hired you. After years of mercenary service, you've acquired a lot of
fame and a little gold.
Finally, you grew tired of this way of life and decided to retry,
return to your home village, marry and spend the rest of your days
farming peacfully. When your last contract came to the end, you packed
your equipment and turned your steps to home.
After long and boring travel, you went to your village, but
what had you found there? You remembered the village as prosperous and
happy, but now people are scared, the harvest is ruined, and the tales
of wild animals turning to monsters, trampling harvest and killing stock
are filling your ears.
The village elder, a former mercenary like you, but of an old
age tried to stop the horde, but now lies injured in his house. People
are on edge of panic and about to leave their houses and the land, but
your return brought them a new hope.
By the elders advice, villagers had elected you as a new leader,
destined to stop the monsters. You shall not fail their trust!

--
May your code work forever and never have a bug.
At your service, Ilya Bely
i e l y @ l . c o
l y a b g m a i m

DarkGod

unread,
Dec 6, 2006, 5:36:44 AM12/6/06
to
On 2006-12-06 05:14:45, "Ilya Bely" <spamsp...@gazeta.pl> wrote:

See people, Ilya "wrote" he did not "napisala" or whatever!

> Hi there!
Plop

> I hadn't adequate amount of free during all previous 7DRL challenges,
> so I decided to make a 7DRL when I have a chance, as it's unclear if
> I'll be able to take a part in future challenges.
> So, I'm starting today. So, if I'll succeed, the final version will be
> released before Wensday, 13 December 2006, 16:00 local time.

Good luck!

> The game will be implemented in python, using curses for I/O. I'm
> afraid it may not work in some marginal operation systems such as
> Windows.

Yay! Let the silly thing rot :)

> The story:
Ahhhhh not a "save the world" adventure, it'll be refreshing :)

--
DarkGod comes from | Do not meddle in the affairs of wizards
the hells for YOU ! :) | because they are subtle and quick to anger.
-----------------------+----------------------------------------------
ToME power! http://t-o-m-e.net

Ido Yehieli

unread,
Dec 6, 2006, 6:06:55 AM12/6/06
to
Ilya Bely wrote:
> The game will be implemented in python, using curses for I/O. I'm
> afraid it may not work in some marginal operation systems such as
> Windows.

If it's because of curses, you can get Curses for Windows & Python,
which should solve this problem:

http://adamv.com/dev/python/curses/

Ido.

eri...@gmail.com

unread,
Dec 6, 2006, 8:53:38 AM12/6/06
to

AdamV's WCurses does indeed work well under Windows. It is a subset of
the full curses interface, but I have had no trouble running Pyro (my
Python roguelike) unmodified under Windows, OSX, and a couple of
Linux/UNIX environments.

AdamV has hinted that he may continue development of WCurses if there
is interest. If you find that WCurses doesn't implement some curses
functionality that you want, please email him a feature request.

Gamer_2k4

unread,
Dec 6, 2006, 11:52:09 AM12/6/06
to
> > The story:
> Ahhhhh not a "save the world" adventure, it'll be refreshing :)

Well, the town is the game's world, and your goal is to save it...

I know what you mean though. ;)

Gamer_2k4

R. Dan Henry

unread,
Dec 9, 2006, 12:11:42 AM12/9/06
to
On Wed, 6 Dec 2006 10:36:44 +0000 (UTC), DarkGod <dar...@t-o-m-e.net>
wrote:

>On 2006-12-06 05:14:45, "Ilya Bely" <spamsp...@gazeta.pl> wrote:
>
>See people, Ilya "wrote" he did not "napisala" or whatever!

DarkGod, once or twice will pass for humor, but at this point your
harping on about non-English words in attribution lines is exact
opposite of funny.

Give it a rest, please.

--
R. Dan Henry = danh...@inreach.com
If you wish to put anything I post on your website,
please be polite enough to ask first.

Ilya Bely

unread,
Dec 12, 2006, 11:17:37 PM12/12/06
to
Hi there!

The 7DRL Defender is released and awailable to download.
http://aerton.rushumor.com/7DRL/

The game was developed from the scratch without using previously
written code (aside from a few lines of terminal code input
translation).

It needs python (I use version 2.3.3) with a curses module.
Unfortunately, I had no time to experiment with windows curses
modules, so it's a unix only at the moment.

I hadn't enough time to implement my initial vision fully and
even to rewrite the slow pathfinder. So, a 2GHz CPU seems to
be a mimimum requirement.

Timofei Shatrov

unread,
Dec 13, 2006, 2:36:37 PM12/13/06
to
On Wed, 13 Dec 2006 10:17:37 +0600, "Ilya Bely" <spamsp...@gazeta.pl> tried
to confuse everyone with this message:

>Hi there!
>
>The 7DRL Defender is released and awailable to download.
>http://aerton.rushumor.com/7DRL/
>

Pretty minimalistic webpage... Any screenshots? To see what to expect when the
Windows version will be available.

--
|Don't believe this - you're not worthless ,gr---------.ru
|It's us against millions and we can't take them all... | ue il |
|But we can take them on! | @ma |
| (A Wilhelm Scream - The Rip) |______________|

Ilya Bely

unread,
Dec 14, 2006, 5:39:34 AM12/14/06
to
wrote in message <1165413218.5...@79g2000cws.googlegroups.com>:

> On Dec 6, 5:06 am, "Ido Yehieli" <Ido.Yehi...@gmail.com> wrote:
>> Ilya Bely wrote:
>> > The game will be implemented in python, using curses for I/O. I'm
>> > afraid it may not work in some marginal operation systems such as
>> > Windows.
>> If it's because of curses, you can get Curses for Windows & Python,
>> which should solve this problem:
>>

> AdamV's WCurses does indeed work well under Windows. It is a subset of
> the full curses interface, but I have had no trouble running Pyro (my
> Python roguelike) unmodified under Windows, OSX, and a couple of
> Linux/UNIX environments.
>

Thanks for the advice, but I gave WCurses a brief try and it didn't work
properly for a number of reasons:

A lot of characters were displaced on redraw
The letters dark and small to the point I can't read them
It is several times slower than on linux (to the state of unplayable)

Ilya Bely

unread,
Dec 14, 2006, 5:49:05 AM12/14/06
to
Hi there!

TimofeiShatrov wrote in message <458055f0...@news.readfreenews.net>:

> Pretty minimalistic webpage... Any screenshots? To see what to expect when the
> Windows version will be available.
>

Unfortunately, there will be no windows version unless/untill
a better version of WCurses emerges.

But I've added a few screenshots anyway.

eri...@gmail.com

unread,
Dec 14, 2006, 12:38:01 PM12/14/06
to
On Dec 14, 4:39 am, "Ilya Bely" <spamspams...@gazeta.pl> wrote:

> wrote in message <1165413218.509178.240...@79g2000cws.googlegroups.com>:
> > On Dec 6, 5:06 am, "Ido Yehieli" <Ido.Yehi...@gmail.com> wrote:
> >> Ilya Bely wrote:
> >> > The game will be implemented in python, using curses for I/O. I'm
> >> > afraid it may not work in some marginal operation systems such as
> >> > Windows.
> >> If it's because of curses, you can get Curses for Windows & Python,
> >> which should solve this problem:
>
> > AdamV's WCurses does indeed work well under Windows. It is a subset of
> > the full curses interface, but I have had no trouble running Pyro (my
> > Python roguelike) unmodified under Windows, OSX, and a couple of
> > Linux/UNIX environments.
> Thanks for the advice, but I gave WCurses a brief try and it didn't work
> properly for a number of reasons:
>
> A lot of characters were displaced on redraw
> The letters dark and small to the point I can't read them
> It is several times slower than on linux (to the state of unplayable)

Yeah, I tried grafting WCurses onto your Defender source, but (as you
know) it didn't work. I worked around a few unimplemented functions
(insstr, addnstr) but it still had trouble.

Would you mind sending a quick email to AdamV, just to let him know
that you're interested in a fuller implementation of WCurses? I think
he'd like to know that there's interest, and it might motivate him to
enhance it in some other ways, as well (variable font, variable window
size, multiple consoles, etc). He just sent me a version compiled
against Python 2.5--he may be in the mood to mess with it some more.

Ilya Bely

unread,
Dec 14, 2006, 7:44:14 AM12/14/06
to
wrote in message <1166117881....@n67g2000cwd.googlegroups.com>:

I have followed your advice and sent him an email. We'll see what
comes out of it.

Ilya Bely

unread,
Dec 16, 2006, 6:07:01 AM12/16/06
to
Hi there!

Ilya Bely wrote in message <elrumb$9vq$1...@inews.gazeta.pl>:

> Unfortunately, there will be no windows version unless/untill
> a better version of WCurses emerges.
>

I've made a pygame backend that is almost identical to the
curses version. The only difference is missing border on
the info panel, which is a bit unpleasant.

There is no other changes to the game.

UNIX version can use either curses or pygame, choosen
in config.py

http://aerton.rushumor.com/7DRL/

I think, I'll continue the development, altiugh it violates
the spirit of 7DRL. It will face major changes in the gameplay
and the release is not to be expected soon.

Ilya Bely

unread,
Dec 16, 2006, 6:09:28 AM12/16/06
to
Ilya Bely wrote in message <em18fu$b1$1...@inews.gazeta.pl>:

> I've made a pygame backend that is almost identical to the
> curses version. The only difference is missing border on
> the info panel, which is a bit unpleasant.
>

Duh, I managed to omit the main point of the post: a windows
binary is available for download.

pol

unread,
Dec 16, 2006, 9:24:33 PM12/16/06
to
seems pretty cool

when I try to add a hammer as somebodies weapon it removes their armor


Gamer_2k4

unread,
Dec 16, 2006, 11:58:59 PM12/16/06
to
> Duh, I managed to omit the main point of the post: a windows
> binary is available for download.

I tried it, and I like the idea. However, I have one small problem
with it. When you finish a battle, you have enough time to purchase
equipment, outfit townspeople, and place animals, but your character
remains where he is. This was a problem for me, since I chased the
first wave of animals to the northwest, and remained in that corner
when the town was attacked from the south. By the time I got back
down, half the town was destroyed. Maybe the player could be reset in
the center of the map as each wave starts?

Gamer_2k4

Ilya Bely

unread,
Dec 16, 2006, 7:19:00 PM12/16/06
to
Hi there!

pol wrote in message <uT1hh.618$cB6...@bignews7.bellsouth.net>:

> seems pretty cool
>
Thanks.

> when I try to add a hammer as somebodies weapon it removes their armor
>

Yes, it's a known bug. I've assigned the same letter to to heavy
armour, which is checked first.

Ilya Bely

unread,
Dec 16, 2006, 7:23:02 PM12/16/06
to
Hi there!

Gamer_2k4 wrote in message <1166331539....@j72g2000cwa.googlegroups.com>:

> I tried it, and I like the idea. However, I have one small problem
> with it. When you finish a battle, you have enough time to purchase
> equipment, outfit townspeople, and place animals, but your character
> remains where he is. This was a problem for me, since I chased the
> first wave of animals to the northwest, and remained in that corner
> when the town was attacked from the south. By the time I got back
> down, half the town was destroyed. Maybe the player could be reset in
> the center of the map as each wave starts?
>

You can change position of character and other villagers by pressing 'p'
on the same screen where you outfit them.

Corremn

unread,
Dec 17, 2006, 5:43:38 PM12/17/06
to

Ilya Bely wrote:
>

> I think, I'll continue the development, altiugh it violates
> the spirit of 7DRL. It will face major changes in the gameplay
> and the release is not to be expected soon.
>
>

Good concept, good game. And by all means continue the game, it is a
nice refreshing take on the RL scene.

Is it possible to add a swap position command or autoswap command for
the player. It is annoying watching your pigs get killed when a
chicken is blocking your path.

Also in the town setup could you put a next/prev command when
inspecting townsfolk to scroll through townsfolk. Or a "place all"
command that alllows you to place them one after the other. I only say
this so you can get into the action right away :)

Good job!

Unfortuately the game crashed at some stage, in about the 5th wave. I
had made my turn, then watched as the ai moved the enemies and
townsfolk around (as this is a tad slow but still very playable), after
a few ai moves the game disappeared. I can only imagine that is was
something in the AI that went wrong.

I am using the win32 binary.

Corremn

unread,
Dec 17, 2006, 5:55:27 PM12/17/06
to

Corremn wrote:
> Unfortuately the game crashed at some stage, in about the 5th wave. I
> had made my turn, then watched as the ai moved the enemies and
> townsfolk around (as this is a tad slow but still very playable), after
> a few ai moves the game disappeared. I can only imagine that is was
> something in the AI that went wrong.
>
> I am using the win32 binary.

Game crashed twice again, both on the second wave. For me this makes
it unplayable :(

Ilya Bely

unread,
Dec 19, 2006, 8:43:28 AM12/19/06
to

Hi there!

>
> Good concept, good game. And by all means continue the game, it is a
> nice refreshing take on the RL scene.
>

Thank you.


> Is it possible to add a swap position command or autoswap command for
> the player. It is annoying watching your pigs get killed when a
> chicken is blocking your path.
>

It's part of the game. Flame breath that destroys scrolls in your
inventory in other RL's isn't any less annoying. You had your chance
to place everything before the battle, now you have to face the
consequences.


> Also in the town setup could you put a next/prev command when
> inspecting townsfolk to scroll through townsfolk. Or a "place all"
> command that alllows you to place them one after the other. I only say
> this so you can get into the action right away :)
>

Village interface will face a major redesign.


> Unfortuately the game crashed at some stage, in about the 5th wave. I
> had made my turn, then watched as the ai moved the enemies and
> townsfolk around (as this is a tad slow but still very playable), after
> a few ai moves the game disappeared. I can only imagine that is was
> something in the AI that went wrong.
>

I've found one AI bug and perhaps there is another one or two. Sadly, it's
too late to fix the 7DRL version. I know, it's frustrating to found your
effort wasted due to some silly software bug :/

Corremn

unread,
Dec 19, 2006, 8:03:47 PM12/19/06
to

Ilya Bely wrote:
>
> > Is it possible to add a swap position command or autoswap command for
> > the player. It is annoying watching your pigs get killed when a
> > chicken is blocking your path.
> >
> It's part of the game. Flame breath that destroys scrolls in your
> inventory in other RL's isn't any less annoying. You had your chance
> to place everything before the battle, now you have to face the
> consequences.

But I cannot control where a chicken or another townsfolk walk to.
They deliberately block me for trying to defend the villlage.

> > Unfortuately the game crashed at some stage, in about the 5th wave. I
> > had made my turn, then watched as the ai moved the enemies and
> > townsfolk around (as this is a tad slow but still very playable), after
> > a few ai moves the game disappeared. I can only imagine that is was
> > something in the AI that went wrong.
> >
>
> I've found one AI bug and perhaps there is another one or two. Sadly, it's
> too late to fix the 7DRL version. I know, it's frustrating to found your
> effort wasted due to some silly software bug :/

Your effort was not wasted, this still is an original game will good
game play options.
Anyway i will look forward to a later realease, even if it only fixes
this one bug :)

0 new messages