NAME

Games::Shogi::DaiDai - Piece descriptions and initial configuration for Dai Dai Shogi

SYNOPSIS

use Games::Shogi::DaiDai;
$Game = Games::Shogi::DaiDai->new;
$piece = $Game->board()->[2][2];
print @{$Game->neighbor($piece);
print $Game->english_name('c'); # 'Copper General'

DESCRIPTION

Dai Dai Shogi has some of the wilder pieces in Shogi, namely the Hook Mover and Long-Nosed Goblin. The Hook Mover moves orthogonally, and the Long-Nosed Goblin along the diagonals. This in itself isn't terribly exotic, until you find that the hook mover slides orthogonally like a rook, then slides any distance perpendicular to the first move. So, it can move into enemy territory like a rook *and* slide left or right to capture any piece along the rank it lands on.

As such, notating these pieces' movements is a little bit exotic. Rather than attempting to enumerate every possible location these pieces can move to, they're simply notated with a slight variation on the -- jump notation, with '+' replacing the final '-'. If a piece is ever found that both hook-moves and jumps, possibly in the rumored Mujotai Shogi, we'll use --+ or the equivalent.

SEE ALSO

perl

AUTHOR

Jeffrey Goff, <jgoff@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2004 by Jeffrey Goff

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.