Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    if($wood >= 10){
        print "BUILD a HUT with 10 wood\n";
    }
    
  2. or download this
    if ($diff eq "easy"){
        $wood = 120;
    ...
        $wood = 75;
        $food = 20;
    }
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    if($inventory{wood} >= 10){
        print "BUILD a HUT with 10 wood\n";
    }
    
  4. or download this
    #!/usr/bin/perl
    
    ...
    if($inventory{wood} >= 10){
        print "BUILD a HUT with 10 wood\n";
    }
    
  5. or download this
    package AlienInit;
    
    ...
    }
    
    1;