Game-Marad

 view release on metacpan or  search on metacpan

bin/pmarad  view on Meta::CPAN

        }
    }
}

sub move_winch {
    my ($app) = @_;
    $app->{dirty} = 1;
    return NEXT_EVENT;
}

sub update {
    my ($app) = @_;
    if ( $app->{dirty} ) {
        touchwin;
        move 0, 0;
        clrtobot;

        my $score = $app->{game}->score;
        if ( $score->[0] >= VICTORY ) {
            victory(1);
        } elsif ( $score->[1] >= VICTORY ) {

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.047 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )