Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Early OO self-taught using Petals Around the Rose

by goibhniu (Hermit)
on Aug 21, 2007 at 16:45 UTC ( [id://634128]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # implements the game Petals Around the Rose
    # no arguments will roll 5 six sided die and report the score
    ...
    Here's your first try:
    ENDUSAGE
    }
    
  2. or download this
    package A_Die;
    
    ...
    }
    
    1;
    
  3. or download this
    
    #######################
    ...
        print $some_dice->toTextArt() . "\n";
        print "that's: " . $some_dice->toString() . "\n";
    }
    
  4. or download this
    
    package Dice;
    ...
    }
    
    1;
    
  5. or download this
    # implements the game Petals Around the Rose
    # no arguments will roll 5 six sided die and report the score
    ...
    Here's your first try:
    ENDUSAGE
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://634128]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-25 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found