X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=Position.pm;h=2e368f29fbbf7d8110edcc9c91472dc1821e5ae9;hp=9333bcd58af514badb9a7b31463a4c00763da609;hb=7672cd409aaf8cdf4ae2caf8a1f403c7d86c7fcd;hpb=1c3cd7877f58e65919bc870f1945be115b5ec2d1 diff --git a/Position.pm b/Position.pm index 9333bcd..2e368f2 100644 --- a/Position.pm +++ b/Position.pm @@ -28,6 +28,8 @@ sub new { $pos->{'player_b'} = $x[18]; $pos->{'player_w'} =~ s/^W?[FCIG]M//; $pos->{'player_b'} =~ s/^W?[FCIG]M//; + $pos->{'white_clock'} = $x[24]; + $pos->{'black_clock'} = $x[25]; $pos->{'move_num'} = $x[26]; if ($x[27] =~ /([a-h][1-8])-([a-h][1-8])/) { $pos->{'last_move_uci'} = $1 . $2;