line |
l |
!l&&r |
!l&&!r |
condition |
579
|
0 |
0 |
0 |
$tag || "${x}:$y" |
598
|
0 |
0 |
0 |
$x < 1 or $y < 1 |
|
0 |
0 |
0 |
$x < 1 or $y < 1 or $x > $Cols |
|
0 |
0 |
0 |
$x < 1 or $y < 1 or $x > $Cols or $y > $Rows |
638
|
0 |
0 |
0 |
not $Games::AIBots::Mask or $Bots[-1]{'dead'} |
643
|
0 |
0 |
0 |
not $GUI or $nx == $ox and $ny == $oy |
646
|
0 |
0 |
0 |
not $Buffer{$tag} or $Buffer{$tag} ne $Obj{$obj} |
665
|
0 |
0 |
0 |
$Obj{$obj} eq 'flag' or $Obj{$obj} eq 'mine' |
667
|
0 |
0 |
0 |
$x == $$bot{'x'} and $y == $$bot{'y'} or $x == $$bot{'enemy_x'} and $y == $$bot{'enemy_y'} |
|
0 |
0 |
0 |
$x == $$bot{'x'} and $y == $$bot{'y'} or $x == $$bot{'enemy_x'} and $y == $$bot{'enemy_y'} or $x == $$bot{'friend_x'} and $y == $$bot{'friend_y'} |
|
0 |
0 |
0 |
$x == $$bot{'x'} and $y == $$bot{'y'} or $x == $$bot{'enemy_x'} and $y == $$bot{'enemy_y'} or $x == $$bot{'friend_x'} and $y == $$bot{'friend_y'} or $x == $$bot{'bumped_x'} and $y == $$bot{'bumped_y'} |
695
|
0 |
0 |
0 |
$Obj{$$bot{'pic'} . $obj} || "bot$obj" |
716
|
0 |
0 |
0 |
$$bot{'id'} == $$Watch{'id'} || $Console |
760
|
0 |
0 |
0 |
$$other{'id'} == $$bot{'id'} or $$other{'cloak'} |
798
|
0 |
0 |
0 |
$owner and $$owner{'id'} != $$bot{'id'} and not $$owner{'team'} or $$owner{'team'} ne $$bot{'team'} |
939
|
0 |
0 |
0 |
/^(scan)[\s\t]+(longrange|front|right|left|perimeter|cross|corner)$/ or /^(turn)[\s\t]+(left|right)$/ |
|
0 |
0 |
0 |
/^(scan)[\s\t]+(longrange|front|right|left|perimeter|cross|corner)$/ or /^(turn)[\s\t]+(left|right)$/ or /^(move)[\s\t]+(forward|backward)$/ |
|
0 |
0 |
0 |
/^(scan)[\s\t]+(longrange|front|right|left|perimeter|cross|corner)$/ or /^(turn)[\s\t]+(left|right)$/ or /^(move)[\s\t]+(forward|backward)$/ or /^(fire)[\s\t]+(laser|bazooka|energy)$/ |
|
0 |
0 |
0 |
/^(scan)[\s\t]+(longrange|front|right|left|perimeter|cross|corner)$/ or /^(turn)[\s\t]+(left|right)$/ or /^(move)[\s\t]+(forward|backward)$/ or /^(fire)[\s\t]+(laser|bazooka|energy)$/ or /^(fire)[\s\t]+(grenade)([\s\t]+[\d\'\"]+)?$/ |
|
0 |
0 |
0 |
/^(scan)[\s\t]+(longrange|front|right|left|perimeter|cross|corner)$/ or /^(turn)[\s\t]+(left|right)$/ or /^(move)[\s\t]+(forward|backward)$/ or /^(fire)[\s\t]+(laser|bazooka|energy)$/ or /^(fire)[\s\t]+(grenade)([\s\t]+[\d\'\"]+)?$/ or /^(scan)[\s\t]+(gps)[\s\t]+(\d+)[\s\t]*,[\s\t]*(\d+)$/ |
|
0 |
0 |
0 |
/^(scan)[\s\t]+(longrange|front|right|left|perimeter|cross|corner)$/ or /^(turn)[\s\t]+(left|right)$/ or /^(move)[\s\t]+(forward|backward)$/ or /^(fire)[\s\t]+(laser|bazooka|energy)$/ or /^(fire)[\s\t]+(grenade)([\s\t]+[\d\'\"]+)?$/ or /^(scan)[\s\t]+(gps)[\s\t]+(\d+)[\s\t]*,[\s\t]*(\d+)$/ or /^(scan)[\s\t]+(position|relative) ([12346789])$/ |
|
0 |
0 |
0 |
/^(scan)[\s\t]+(longrange|front|right|left|perimeter|cross|corner)$/ or /^(turn)[\s\t]+(left|right)$/ or /^(move)[\s\t]+(forward|backward)$/ or /^(fire)[\s\t]+(laser|bazooka|energy)$/ or /^(fire)[\s\t]+(grenade)([\s\t]+[\d\'\"]+)?$/ or /^(scan)[\s\t]+(gps)[\s\t]+(\d+)[\s\t]*,[\s\t]*(\d+)$/ or /^(scan)[\s\t]+(position|relative) ([12346789])$/ or /^(disable)[\s\t]+(shield|laymine|cloak)$/ |
|
0 |
0 |
0 |
/^(scan)[\s\t]+(longrange|front|right|left|perimeter|cross|corner)$/ or /^(turn)[\s\t]+(left|right)$/ or /^(move)[\s\t]+(forward|backward)$/ or /^(fire)[\s\t]+(laser|bazooka|energy)$/ or /^(fire)[\s\t]+(grenade)([\s\t]+[\d\'\"]+)?$/ or /^(scan)[\s\t]+(gps)[\s\t]+(\d+)[\s\t]*,[\s\t]*(\d+)$/ or /^(scan)[\s\t]+(position|relative) ([12346789])$/ or /^(disable)[\s\t]+(shield|laymine|cloak)$/ or /^(enable)[\s\t]+(shield|laymine|cloak)$/ |
|
0 |
0 |
0 |
/^(scan)[\s\t]+(longrange|front|right|left|perimeter|cross|corner)$/ or /^(turn)[\s\t]+(left|right)$/ or /^(move)[\s\t]+(forward|backward)$/ or /^(fire)[\s\t]+(laser|bazooka|energy)$/ or /^(fire)[\s\t]+(grenade)([\s\t]+[\d\'\"]+)?$/ or /^(scan)[\s\t]+(gps)[\s\t]+(\d+)[\s\t]*,[\s\t]*(\d+)$/ or /^(scan)[\s\t]+(position|relative) ([12346789])$/ or /^(disable)[\s\t]+(shield|laymine|cloak)$/ or /^(enable)[\s\t]+(shield|laymine|cloak)$/ or /^(attempt)[\s\t]+(repair|destruct)$/ |
|
0 |
0 |
0 |
/^(scan)[\s\t]+(longrange|front|right|left|perimeter|cross|corner)$/ or /^(turn)[\s\t]+(left|right)$/ or /^(move)[\s\t]+(forward|backward)$/ or /^(fire)[\s\t]+(laser|bazooka|energy)$/ or /^(fire)[\s\t]+(grenade)([\s\t]+[\d\'\"]+)?$/ or /^(scan)[\s\t]+(gps)[\s\t]+(\d+)[\s\t]*,[\s\t]*(\d+)$/ or /^(scan)[\s\t]+(position|relative) ([12346789])$/ or /^(disable)[\s\t]+(shield|laymine|cloak)$/ or /^(enable)[\s\t]+(shield|laymine|cloak)$/ or /^(attempt)[\s\t]+(repair|destruct)$/ or /^(beam)[\s\t]+(command|fuel|ammo)\s+(.+)$/ |
|
0 |
0 |
0 |
/^(scan)[\s\t]+(longrange|front|right|left|perimeter|cross|corner)$/ or /^(turn)[\s\t]+(left|right)$/ or /^(move)[\s\t]+(forward|backward)$/ or /^(fire)[\s\t]+(laser|bazooka|energy)$/ or /^(fire)[\s\t]+(grenade)([\s\t]+[\d\'\"]+)?$/ or /^(scan)[\s\t]+(gps)[\s\t]+(\d+)[\s\t]*,[\s\t]*(\d+)$/ or /^(scan)[\s\t]+(position|relative) ([12346789])$/ or /^(disable)[\s\t]+(shield|laymine|cloak)$/ or /^(enable)[\s\t]+(shield|laymine|cloak)$/ or /^(attempt)[\s\t]+(repair|destruct)$/ or /^(beam)[\s\t]+(command|fuel|ammo)\s+(.+)$/ or /^(toggle)[\s\t]+(shield|laymine|cloak)$/ |
978
|
0 |
0 |
0 |
bot_at(@{$missile;}{'x', 'y'}) and $$missile{'age'} or obj_at($$missile{'x'} += $dx, $$missile{'y'} += $dy) ne '.' |
|
0 |
0 |
0 |
bot_at(@{$missile;}{'x', 'y'}) and $$missile{'age'} or obj_at($$missile{'x'} += $dx, $$missile{'y'} += $dy) ne '.' or ++$$missile{'age'} >= $$missile{'range'} |
1012
|
0 |
0 |
0 |
$$bot{'team'} or bot_id($bot) |
1013
|
0 |
0 |
0 |
$$bot{'dead'} or $$bot{'fuel'} <= 0 |
1019
|
0 |
0 |
0 |
not $missiles and scalar keys %alive <= 1 or not $hasfuel |
1027
|
0 |
0 |
0 |
$$bot{'team'} or bot_id($bot) |
|
0 |
0 |
0 |
$$bot{'dead'} or scalar keys %alive > 1 |
1029
|
0 |
0 |
0 |
$$bot{'team'} or bot_id($bot) |
1067
|
0 |
0 |
0 |
$$bot{'shield'} or $$bot{'life'} >= $Max_life |
1101
|
0 |
0 |
0 |
$type eq 'fuel' or $type eq 'ammo' |
1145
|
0 |
0 |
0 |
$type eq 'bazooka' or $type eq 'grenade' |
1157
|
0 |
0 |
0 |
$range || ($Cols > $Rows ? $Cols : $Rows) |
1174
|
0 |
0 |
0 |
$$bot{'h'} == 8 || $$bot{'h'} == 2 |
1227
|
0 |
0 |
0 |
$type eq 'position' or $type eq 'relative' |
1347
|
0 |
0 |
0 |
$obj eq 'flag' or $obj eq 'mine' |
|
0 |
0 |
0 |
$obj eq 'flag' or $obj eq 'mine' or $obj eq 'fence' |
1350
|
0 |
0 |
0 |
$obj eq 'flag' or $obj eq 'mine' |
1380
|
0 |
0 |
0 |
!$Games::AIBots::Mask || $Bots[-1]{'dead'} |
1396
|
0 |
0 |
0 |
$_[1] eq 'destruct' || $_[0] eq 'hit' || $_[0] eq 'fire' |
1428
|
0 |
0 |
0 |
$Running || $Continue |
|
0 |
0 |
0 |
my $key = Term::ReadKey::ReadKey($Running || $Continue ? -1 : 10) or $Continue |
1431
|
0 |
0 |
0 |
$key eq ' ' or $key eq 'p' |
|
0 |
0 |
0 |
$key eq ' ' or $key eq 'p' or not $Running and $Continue |