Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: logic problem with perl game

by liverpole (Monsignor)
on Dec 05, 2010 at 02:50 UTC ( [id://875444]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if($game eq "Fight") {
        if($response eq "arrow" && $correctryhm eq "sparrow")
    ...
              $lose=$lose+1;
          }code:
    ...
    
  2. or download this
    
    $response = param('response');
    ...
            # Removed for brevity ...
        }
    }
    
  3. or download this
    $response = param('response');
    $win      = param('win');
    ...
            # Removed for brevity ...
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found