Generals Rule
Flying general rule in Janggi and Xiangqi.
The two generals cannot face each other along the same line without any intervening pieces.
Constructors
GeneralsRule
Link copied to clipboard
fun GeneralsRule()
Content copied to clipboard
Functions
getPossibleMoves
Link copied to clipboard
open override fun getPossibleMoves(game: AbstractChess2D, player: Player, moves: MutableList<Move2D>)
Content copied to clipboard