Class: Shogi::Piece::OU
Constant Summary collapse
- CSA_NAME =
"OU"
- USI_NAME =
"K"
- MOVEMENTS =
[[-1, 1], [ 0, 1], [ 1, 1], [-1, 0], [ 1, 0], [-1, -1], [ 0, -1], [ 1, -1]]
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ OU
constructor
A new instance of OU.