Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Help making simple RPG game less boring

by marto (Chancellor)
on Oct 30, 2012 at 12:21 UTC ( #1001494=note: print w/ replies, xml ) Need Help??


in reply to Help making simple RPG game less boring

Since you're not asking a Perl question, rather a game design quesiton I'm confused as to why you're posting here. However, so far:

C:\>perl rpg.pl And adventure awaits to the east, do you wish to embark? 1 for yes, 2 for no 1 You find an old Katana, strength + 20 You pick up some ancient armor, def + 100 A wolf appears You attack the wolf for 43 The wolf retaliates with 150 The wolf has 58 health, you have 205 You attack the wolf for 45 The wolf retaliates with 150 The wolf has 13 health, you have 105 You attack the wolf for 54 The wolf retaliates with 150 The wolf has -41 health, you have -45 You defeated the monster You gained 101 XP You are now level 2 on stage 1 *************** ***New Stats*** *************** LEVEL2 Base strength 21 Extra strength 46 Max HP 207 Def 276 You are now level 3 on stage 1 *************** ***New Stats*** *************** LEVEL3 Base strength 23 Extra strength 58 Max HP 209 Def 353 You are now level 4 on stage 1 *************** ***New Stats*** *************** LEVEL4 Base strength 26 Extra strength 71 Max HP 212 Def 431 You are now level 5 on stage 1 *************** ***New Stats*** *************** LEVEL5 Base strength 30 Extra strength 85 Max HP 216 Def 510 You are now level 6 on stage 1 *************** ***New Stats*** *************** LEVEL6 Base strength 35 Extra strength 100 Max HP 221 Def 590 You are now level 7 on stage 1 *************** ***New Stats*** *************** LEVEL7 Base strength 41 Extra strength 116 Max HP 227 Def 671 You are now level 8 on stage 1 *************** ***New Stats*** *************** LEVEL8 Base strength 48 Extra strength 133 Max HP 234 Def 753 You are now level 9 on stage 1 *************** ***New Stats*** *************** LEVEL9 Base strength 56 Extra strength 151 Max HP 242 Def 836 Do you wish to go forwards, stay or retreat? 1 for trucking on east, 2 for staying 3 for retreating

At this point I've pressed one button, this one decision has resulted in all the action taking place. I'm now level 9 for deciding to play the game by pressing '1' rather than the script dying at line 120 with an "uncaught exception" (which occurs when you select "2" rather than "1").

The game lacks any real user involvement I've experienced with other text based RPGs. If you want it to be interesting for people I suggest more user involvement, less automated actions. Perhaps you should check out some other games of this nature and see how they engage users.

Update: Added option "2" explanation.


Comment on Re: Help making simple RPG game less boring
Download Code
Re^2: Help making simple RPG game less boring
by jms53 (Monk) on Oct 30, 2012 at 13:33 UTC
    I posted it here because I coded it as a Perl learning exercise. Currently restructuring the whole thing to be more user oriented.
    Thanks for your input!
    J -

      But you ask for game critique, rather than programming advice. I appeciate that this was a Perl exercise, but regardless of which language it was created in the game experience would be the same.

      Also:

      You pick up some ancient armor, def + 100 A wolf appears You attack the wolf for 43 The wolf retaliates with 150 The wolf has 58 health, you have 205 You attack the wolf for 45 The wolf retaliates with 150 The wolf has 13 health, you have 105 You attack the wolf for 54 The wolf retaliates with 150 The wolf has -41 health, you have -45

      I now have less health than the wolf, which dies, but am somehow still alive and leveling up.

Re^2: Help making simple RPG game less boring
by Anonymous Monk on Oct 30, 2012 at 23:31 UTC

    Since you're not asking a Perl question, rather a game design quesiton I'm confused as to why you're posting here.

    Should post in Meditations?

    Design is part of everything

      For clarification, the question of this being "boring" doesn't relate to a perl problem with this program, if this were written in BASIC it'd be just as "boring". It's somewhat subjective, what one person finds boring another may not. As described in Where should I post X?, Seekers of Perl Wisdom is for problems specifically relating to perl, rather than solving the problem of how make something less boring to use/play.

      The fact that it the program doesn't work as intended (for example, I later posted how I died yet defeated a wolf) is a programming problem, I noticed this as I reevaluated the programs vast output based on my one decision/choice. The question OP asked was how to make the game less boring, which is outwith the scope of Perl.

        As described in Where should I post X?, Seekers of Perl Wisdom is for problems specifically relating to perl, rather than solving the problem of how make something less boring to use/play. The question OP asked was how to make the game less boring, which is outwith the scope of Perl.

        You're wrong, that is not what Where should I post X? says.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001494]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (16)
As of 2014-07-22 14:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (116 votes), past polls