in reply to Re^2: Wizard v1.2
in thread Wizardv1.1

Fine :) Actually I'd like to implement a more complete combat system with damage, armor, etc. Also I had started a system to build "places" such as a forest, a castle, a cave so you can wander around a little, find some tresures, etc. Then of course you'll need to be able to save the game state; then why not make it CGI-able, and what about multiplayer game? Mmmmh, i'm afraid it's about to become a real project :)

Here's what I'm working out for the "place generator" :

Forest, mountain, village, castle, cavern maze.
The game would generate a random "world" to be explored. I'd create a set of basic "quests", you'll end the quest by killing a group of defined monsters or finding a set of defined treasures; then it would generate another world, harder, with a new quest, etc.
Yes, As I thought about it, it becames quite clear that this would be easily extended to aclient-server mode, so you can play with a command line, a browser (cgi) interface (possibly graphical) or even a graphic display, and why not, make it multiplayer.
OK, be enthusiast enough and I'll make it :)

Replies are listed 'Best First'.
Re^4: Wizard v1.2
by deibyz (Hermit) on May 10, 2005 at 17:20 UTC
    Ok, I'll be enthusiast: "Do it!!" =o)
    I'd be interested in a project like that. I think I could manage to implement a battle system based on somewhat similar to D&D3rd, and maybe a magic system. But I think somethings should be considered before. What do you think?
      Oh oh oh, welcome friend, let's band together on a project that'll suck the few minutes of free time we managed to save from our bosses, wives and the rest :)
      We should defintetely consider what to do exactly, and in which order. For instance I just thought it to be nice if the monsters weren't static, but could move a bit around their "origin", flee when wounded, etc. Wow, so much to do...
      For the combat system, AD&D can be good enough (there's a version of the rules on the TSR site that can be freely implemented).
      Perhaps a fully object game system would be better, because it would be easier to extend the game (for instance to get it multiplayer or put a GUI on it). I think something like a quick turn-by-turn system (with a 3 seconds turn for instance) would be nice, because it will allow a very interactive gaming without the hurdle of a true real-time system (hard, especially for combats).
      OK, ok, I'll stop that now : I'm right now working on the "world generator" first, When I'll have something ready I'll post a brand new Code Catacomb node!
      Hey, can't this be useful? battle.pl

      update: and I didn't even talk about magic! I had this idea (let me know what you think of it) : it would be nice to be able to find scrolls (perhaps by killing some monsters, or as special rewards); then you could either use the scroll (for instance "fireball") once, and it'll be burnt out, destroyed, reduced to ashes; or you'd be able to LEARN the spell from the scroll (takes time, energy, mana, whatever) and then be able to use it as you like (but of course you then will need enough mana, etc). Wadyathink? I LIKE this idea.

        Not to rain on your parade, but have you considered just playing one of these games? It would be a considerable bit of programming to come up with something comparable. If you just want an interesting programming project, that's one thing; but if you are more interested in the final game, I'd say it's already been done.

        You might also be interested in the Interactive Fiction archive. The reason there aren't more adventure games written in Perl is that the custom tools give you such a head start.


        Caution: Contents may have been coded under pressure.
Re^4: Wizard v1.2
by void_Anthony() (Acolyte) on May 11, 2005 at 12:26 UTC
    I think that would be an excellent idea. Although that's extremely complex for my level (a novice at the monastery as of this morning:)) I think it would be great for someone else to take it further than I could. In your case, you could take all the credit because besides for the original code, anything worth using would have been created by you (or someone else who is willing to tackle such a project.) So feel free.
      You may be a novice, but someday you may become a mighty saint :) Use Strict and Use Warnings, and Enlightment will come sooner than you expect :)
      BTW a novice may find it harder to contribute code, but code isn't all, there's ideas, arts, etc. And your code will improve over time anyway, so don't be shy: show your code, listen to advices, and you'll learn quickly.