Class: Shogi::Piece::RY
Constant Summary collapse
- CSA_NAME =
"RY"
- USI_NAME =
"+R"
- MOVEMENTS =
[(-8..-1).collect {|h| [0, h] }, ( 1.. 8).collect {|h| [0, h] }, (-8..-1).collect {|w| [w, 0] }, ( 1.. 8).collect {|w| [w, 0] }, [[-1, -1], [-1, 1], [1, -1], [1, 1]]].flatten(1)
- CHILD =
"HI"
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ RY
constructor
A new instance of RY.