I have a question about the challenge Dungeon Master. I would like to automate it but I don't know in which language I should write this script and how.
Thanks for your answers
Crunch

Making a dungeon "solver" in Java or C(++) would certainly be a lot more work compared to Python, Perl, Ruby or any other scripting language. This challenge calls for scripting in one of its purest forms, so one is well advised to choose a language targeted at that market (most so called "scripting" languages nowadays are simply very-high-level, interpreted, general purpose languages, but let's stick with the scripting term for the moment).tails wrote:In conclusion, I think you don't have to be very nervous on which language to use.
That is a big reason why I like to use C#, because it is much easier to write nearly flawless code (some of my older code from 6 months ago looks horrendous though), and the language and debugger is simplified enough so that I can fully control what the program does 100%. If I were going to do a script I would write a simple library first in C# rather than try to do it in python because in the latter case I would not be able to detect every mistake out there.simon wrote: Fast and painless reusage is something only good code gives you. And you can write awful code in any language
jeah... C#... i would rather pee myself in bed, you know...Allosentient wrote: That is a big reason why I like to use C#, because it is much easier to write nearly flawless code (some of my older code from 6 months ago looks horrendous though), and the language and debugger is simplified enough so that I can fully control what the program does 100%. If I were going to do a script I would write a simple library first in C# rather than try to do it in python because in the latter case I would not be able to detect every mistake out there.
First I wanted to write another pee comment, but you brought interesting points. For some rapid solutions (like requested by a few of these challenges) this sounds handy.wrtlprnft wrote:Actually I think the ideal language to do this is this javascript...
What is so bad about C#, then?simon wrote:bla bla... What has this to do with anything? You can write python and C# on both plattforms... And I never said that I want to, or you should change your operating system... Actually I never mentioned my OS... And the last thing I want to have is a discussion about that (do you know how many hours of my life I spended on these discussions? mostly drunk?! it's not funny anymore......).
go back to your highly paid $30/hour developer job and I keep on doing my thing...