}
$pos->{'last_move'} = $x[29];
$pos->{'prettyprint_cache'} = {};
+ $pos->{'tbprobe_cache'} = {};
bless $pos, $class;
return $pos;
$pos->{'last_move_uci'} = undef;
$pos->{'last_move'} = undef;
$pos->{'prettyprint_cache'} = {};
+ $pos->{'tbprobe_cache'} = {};
bless $pos, $class;
return $pos;
my $json = { %$pos, fen => $pos->fen() };
delete $json->{'board'};
delete $json->{'prettyprint_cache'};
+ delete $json->{'tbprobe_cache'};
delete $json->{'black_castle_k'};
delete $json->{'black_castle_q'};
delete $json->{'white_castle_k'};