text based rpg

Discussion in 'Programming' started by Smush, Mar 5, 2007.

  1. #1
    Kinda new to programming, wanting to make a text based rpg for people to play online by clicking to level up stats etc by fighting

    what should I use pyton or ruby?

    and are there any tutorials for the complete newbie?:)
     
    Smush, Mar 5, 2007 IP
  2. crazybjörn

    crazybjörn Peon

    Messages:
    270
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Python, ruby (on rails), PHP, even asp.net all of them can do this, it's just a matter of preference and where you are going to host it. Obviously if your host doesn't support ruby on rails or python then you should pick PHP, unless you are willing to host it at a place that supports it.

    I don't think that there are any tutorials for specifically writing such things. But there are other tutorials which make up a game like this. For example user management tutorials. From there it's just a matter of building forms/pages that allow the user to "play" the rpg.

    edit - though I will say this, I highly recommend that you pick something less ambitious to start with, like a very simple script, maybe something like "Who Wants To Be A Millionaire?". "Simple RPGs" as they put it, are never really simple.
     
    crazybjörn, Mar 6, 2007 IP
  3. Smush

    Smush Member

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    OK thanks for the insight
     
    Smush, Mar 6, 2007 IP
  4. Xangis

    Xangis Active Member

    Messages:
    182
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    78
    #4
    Wow, Python or Ruby. Yeah, that will probably work. But it makes me feel a little old.

    I spent the better part of the 1990's coding for multi-user dungeons, and that was always in C or C++. With shell accounts having gone the way of the dodo I guess one shouldn't even consider doing it that way now.

    Check www.andreasen.org/newmud for a good list of publicly available MUD codebases - it might be better to customize one to your liking than start from scratch. Taking a peek just now there are a few that use the newer languages like Py ru Ruby.
     
    Xangis, Mar 6, 2007 IP
  5. Furio

    Furio Peon

    Messages:
    108
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you are new to programming, then you should try something simple as rpg scripts tend to have a lot of issues arrise and maybe you should try it once you are more experienced.

    gd lk though :)
     
    Furio, Mar 11, 2007 IP