Dungeon Master

simon
Posts: 6
Joined: Sun Nov 16, 2008 4:43 pm

Post by simon »

Allosentient wrote:What is so bad about C#, then?
Since you sounded like you are a software developer, we don't have to go into the discussion about something like "a best language". You should agree that the best language is always the one, where you can solve your problem fast and clean.
Until now I haven't seen a problem that I can solve better in C# than in any other language (that doesn't have to reflect your experience).
wrtlprnft wrote:I finally got it… and the depth of this dungeon is waaay over the top… but then again my AI was pretty dumb, too.
Was your JS solution flexible enough for the next challenge? (-:
If you are not shy I would really love to see it (and the other bash one somebody mentioned).
Maybe an intern can tell us the name of the final dungeon game, so we can start a "solved" thread

have a nive day
simon
User avatar
m!nus
Posts: 202
Joined: Sat Jul 28, 2007 6:49 pm
Location: Germany

Post by m!nus »

any hints on what those potions are, how good the swords are, what the (+1) does?
wrtlprnft
Posts: 28
Joined: Sun Nov 09, 2008 4:48 pm

Post by wrtlprnft »

If you pick up a Crusher it says “looks sharp” instead of “yeah!”… maybe it's the best sword, then.
snibril
Posts: 31
Joined: Sun Oct 26, 2008 11:18 pm

Post by snibril »

If the exp level of your heror is +5 or more over the dungeon level you don't have to worry about weapons or potions :lol:
RoyceMcKnight
Posts: 1
Joined: Wed Nov 19, 2008 12:27 pm

Post by RoyceMcKnight »

@snibril
True, but that does not work on "cave master" as you only have 1900 moves :-)
flog
Posts: 4
Joined: Thu Dec 18, 2008 7:28 pm

help

Post by flog »

the challenge does not function correctly. ive killt the boss and typed in his name "belzebub" but it says incorrect .....
:?: :?: please help
Lasdem
Posts: 4
Joined: Tue Dec 16, 2008 9:44 am

Post by Lasdem »

I used Java for my bot and for most other challenges, and i have to say it works great for me.
Maybe its because i just love oop ...
the only times i switch to python is if i have to calculate something with high numbers or many comma decimals

i think java is simple and good for beginners
therethinker
Posts: 144
Joined: Fri Mar 28, 2008 11:29 pm
Location: #hacker.org on Freenode

Post by therethinker »

You knnow, it would really help if there were some way to report posts >.>
Karian
Posts: 75
Joined: Wed Jan 09, 2008 10:21 am

Re: help

Post by Karian »

flog wrote:the challenge does not function correctly. ive killt the boss and typed in his name "belzebub" but it says incorrect .....
:?: :?: please help
For all challenges, it is assumed that you can read correctly. If they give you the answer plain text, and you can't type it over correctly, then you have indeed problems with the challenge.
MagneticMonopole
Posts: 26
Joined: Fri Nov 07, 2008 3:19 pm

Post by MagneticMonopole »

m!nus wrote:any hints on what those potions are, how good the swords are, what the (+1) does?
Interesting question. I kindly asked my game program to collect some statistics. Here they are:

Code: Select all

Name-plus-wtd   nkills nhits nmisses  ## attacks/kill   hits/kill
--------------------------------------------------------------------------
Abacinator-0-0    31    70    52 ##     3.94     2.26
Abacinator-0-1     4    12    12 ##     6.00     3.00
Abacinator-1-0    23    50    52 ##     4.43     2.17
Abacinator-1-1     5    14     4 ##     3.60     2.80
Abacinator-2-0    24    54    47 ##     4.21     2.25
Abacinator-2-1    19    53    39 ##     4.84     2.79
Abacinator-3-0     5    11    20 ##     6.20     2.20
Abacinator-3-1     3     8     0 ##     2.67     2.67
Abacinator-4-0    16    36    35 ##     4.44     2.25
Abacinator-4-1    10    28    26 ##     5.40     2.80
Abacinator-5-0    11    24    21 ##     4.09     2.18
Abacinator-5-1     4    12     5 ##     4.25     3.00
Crusher-0-0    11    33    23 ##     5.09     3.00
Crusher-0-1     2     6     4 ##     5.00     3.00
Crusher-1-0    10    30    34 ##     6.40     3.00
Crusher-1-1     4    13    17 ##     7.50     3.25
Crusher-2-0     7    19    16 ##     5.00     2.71
Crusher-2-1     2     7     5 ##     6.00     3.50
Crusher-3-0    20    56    65 ##     6.05     2.80
Crusher-3-1     6    18    20 ##     6.33     3.00
Crusher-4-0     5    15     9 ##     4.80     3.00
Crusher-4-1     1     3     4 ##     7.00     3.00
Eviscerator-0-0    15    40    35 ##     5.00     2.67
Eviscerator-1-0    23    54    52 ##     4.61     2.35
Eviscerator-1-1     4    12     7 ##     4.75     3.00
Eviscerator-2-0    32    80    66 ##     4.56     2.50
Eviscerator-2-1     7    27    35 ##     8.86     3.86
Eviscerator-3-0    25    58    59 ##     4.68     2.32
Eviscerator-3-1    12    34    34 ##     5.67     2.83
Eviscerator-4-0    14    36    42 ##     5.57     2.57
Eviscerator-4-1     1     3     3 ##     6.00     3.00
Eviscerator-5-1     2     6    10 ##     8.00     3.00
Powderizer-0-0     4    10    16 ##     6.50     2.50
Powderizer-1-0    28    58    60 ##     4.21     2.07
Powderizer-1-1     4    10     4 ##     3.50     2.50
Powderizer-2-0    37    76    81 ##     4.24     2.05
Powderizer-2-1    11    30    30 ##     5.45     2.73
Powderizer-3-0    34    74    76 ##     4.41     2.18
Powderizer-3-1    24    66    65 ##     5.46     2.75
Powderizer-3-2     1     3     0 ##     3.00     3.00
Powderizer-4-0     8    17    19 ##     4.50     2.12
Powderizer-4-1     9    25    15 ##     4.44     2.78
Powderizer-5-0    15    38    43 ##     5.40     2.53
Powderizer-5-1     3     9    13 ##     7.33     3.00
Punisher-0-0    19    49    54 ##     5.42     2.58
Punisher-0-1     6    18    10 ##     4.67     3.00
Punisher-1-0    13    41    34 ##     5.77     3.15
Punisher-2-0    36    94    88 ##     5.06     2.61
Punisher-2-1    18    55    79 ##     7.44     3.06
Punisher-3-0    14    35    36 ##     5.07     2.50
Punisher-3-1     4    12    14 ##     6.50     3.00
Punisher-4-0    25    65    56 ##     4.84     2.60
Punisher-4-1    10    30    18 ##     4.80     3.00
Punisher-5-0     3     8     6 ##     4.67     2.67
Punisher-5-1     2     6     1 ##     3.50     3.00
Shaver-0-0    21    49    43 ##     4.38     2.33
Shaver-1-0     9    20    28 ##     5.33     2.22
Shaver-2-0    17    39    34 ##     4.29     2.29
Shaver-2-1     2     6     5 ##     5.50     3.00
Shaver-3-0    25    61    60 ##     4.84     2.44
Shaver-3-1    14    40    46 ##     6.14     2.86
Shaver-4-0    15    34    38 ##     4.80     2.27
Shaver-4-1    15    45    55 ##     6.67     3.00
Slasher-0-0     7    21    11 ##     4.57     3.00
Slasher-1-0     9    26    34 ##     6.67     2.89
Slasher-1-1     3    10    13 ##     7.67     3.33
Slasher-2-0    14    40    52 ##     6.57     2.86
Slasher-2-1     4    12    17 ##     7.25     3.00
Slasher-3-0    10    29    21 ##     5.00     2.90
Slasher-3-1     1     3     6 ##     9.00     3.00
Slasher-4-0    13    38    40 ##     6.00     2.92
Slasher-4-1    12    35    32 ##     5.58     2.92
Slicer-0-0     7    21    18 ##     5.57     3.00
Slicer-0-1     5    15     7 ##     4.40     3.00
Slicer-1-0    49   138   115 ##     5.16     2.82
Slicer-1-1     5    15    15 ##     6.00     3.00
Slicer-2-0    26    72    57 ##     4.96     2.77
Slicer-2-1     8    27    28 ##     6.88     3.38
Slicer-3-0    14    38    38 ##     5.43     2.71
Slicer-3-1     6    19    11 ##     5.00     3.17
Slicer-4-0     8    20    21 ##     5.12     2.50
Slicer-4-1     1     3     2 ##     5.00     3.00
Slicer-5-0     6    16    20 ##     6.00     2.67
Slicer-5-1     4    12    14 ##     6.50     3.00
What do these mean? Weapons have a name, a level and a plus factor. Slicer-4-0 is a weapon named "Slicer" with "+4" and thesame level as the dungeon it was used on, Slicer-4-1 is the same,but brought from one level above (so it is 1 level worse than the dungeon - wtd in the table header).

Code: Select all

Slicer-4-0     8    20    21 ##     5.12     2.50
This Slicer killed 8 monsters, hitting 20 times and missing 21 times, resulting in an average of 5.12 attack moves per kill, or 2.50 hits per kill.

So, basically the number directly on the right of the "##" in the above table is most important, telling us how many attack moves this weapon needed on average - the less, the better.

First result is that a weapon of the same level as the dungeon is usually more effective than a weapon brought from above, being less prone to miss the monster.

Second, the higher the plus, the better the weapon (which actually makes perfect sense).

Third, the name of the weapon does not really matter that much - except perhaps the Crusher, which scores comparatively low.

So, our strategy would be:
Take a weapon whenever its level is above the level of your current weapon, or, if levels are equal, if it has more plusses.

Caveats:
- With some weapons, not many fights were fought, so the data may be insufficient.
- I did not factor in the effect of potions ("your weapon glows malevolently", "the monster is engulfed in flames"). Not even certain if these effects are good or bad for you - or the monster.
- Never believe statistics you have not forged yourself.
- I miss my blessed rustproof +5 athame from nethack...
Lasdem
Posts: 4
Joined: Tue Dec 16, 2008 9:44 am

Post by Lasdem »

Well i calculate a weapons value like this:
value = level + plus / 2

and let the programm only switch weapon if the value of the new one is higher.
lets say:
you have: Eviscerator lvl 5 + 4
you found: Powderizer lvl 6 + 1
the Eviscerator gets a value of 7 and the Powderizer a value of 6,5
in this case i would keep the Eviscerator even if the level of the Powderizer is higher,
but the value of the Eviscerator is higher.

I don't know if it should be calculated like this,
but i do kill quick and don't waste actions on picking up weapons.
kap
Posts: 3
Joined: Thu Oct 30, 2008 10:09 pm

Post by kap »

i've done this challenge by hand ;) was quite fun :D you can reach the big boss without any training :P
Bierdeckel
Posts: 7
Joined: Thu Mar 05, 2009 2:22 pm

Post by Bierdeckel »

Sry for my bad english. I'm from Austria.

I've past the "One Minute Man" scripting-chalenge an now i'm trying to solve the dungeon.
I want to write my Code in VB (i think there is a nice ActiveX Control to load the code of the pages). But i don't know how to login. This is necessary^^

Has anyone a link or something else what could be interesting for me?
michuber
Posts: 57
Joined: Sun Oct 26, 2008 3:30 pm

Post by michuber »

Bierdeckel wrote:Has anyone a link or something else what could be interesting for me?
You can pass your name and password (or spw):
http://www.hacker.org/challenge/about.php
Excalibur1974
Posts: 4
Joined: Fri Mar 06, 2009 8:49 am
Location: Germany

Post by Excalibur1974 »

Also possible: copy your browsers cookie for hacker.org and sending it with each request
Post Reply