package Ġpieces . xi ang qi Ċ Ċ import Ġmove Generators . Direction Ċ import Ġmove Generators . Move Generator 2 D Ċ import Ġpieces . Piece 2 D Ċ import Ġplayers . Player Ċ Ċ /** Ċ Ġ* ĠRepresents Ġa Ġh orse Ġin ĠX iang qi Ċ Ġ*/ Ċ data Ġclass ĠX iang qi H orse ( override Ġval Ġplayer : ĠPlayer ) Ġ: ĠPiece 2 D Ġ{ ĊĠĠĠ Ġoverride Ġval Ġmove Generators Ġ= ĊĠĠĠĠĠĠĠ ĠlistOf ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMove Generator 2 D . Composite ( listOf ( Move Generator 2 D . Step per ( Direction . NORTH , Ġ 1 , Ġfalse ), ĠMove Generator 2 D . Step per ( Direction . NORTH _ EAST , Ġ 1 , Ġtrue ))), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMove Generator 2 D . Composite ( listOf ( Move Generator 2 D . Step per ( Direction . NORTH , Ġ 1 , Ġfalse ), ĠMove Generator 2 D . Step per ( Direction . NORTH _ WEST , Ġ 1 , Ġtrue ))), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMove Generator 2 D . Composite ( listOf ( Move Generator 2 D . Step per ( Direction . EAST , Ġ 1 , Ġfalse ), ĠMove Generator 2 D . Step per ( Direction . NORTH _ EAST , Ġ 1 , Ġtrue ))), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMove Generator 2 D . Composite ( listOf ( Move Generator 2 D . Step per ( Direction . EAST , Ġ 1 , Ġfalse ), ĠMove Generator 2 D . Step per ( Direction . SO UTH _ EAST , Ġ 1 , Ġtrue ))), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMove Generator 2 D . Composite ( listOf ( Move Generator 2 D . Step per ( Direction . SO UTH , Ġ 1 , Ġfalse ), ĠMove Generator 2 D . Step per ( Direction . SO UTH _ EAST , Ġ 1 , Ġtrue ))), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMove Generator 2 D . Composite ( listOf ( Move Generator 2 D . Step per ( Direction . SO UTH , Ġ 1 , Ġfalse ), ĠMove Generator 2 D . Step per ( Direction . SO UTH _ WEST , Ġ 1 , Ġtrue ))), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMove Generator 2 D . Composite ( listOf ( Move Generator 2 D . Step per ( Direction . WEST , Ġ 1 , Ġfalse ), ĠMove Generator 2 D . Step per ( Direction . NORTH _ WEST , Ġ 1 , Ġtrue ))), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMove Generator 2 D . Composite ( listOf ( Move Generator 2 D . Step per ( Direction . WEST , Ġ 1 , Ġfalse ), ĠMove Generator 2 D . Step per ( Direction . SO UTH _ WEST , Ġ 1 , Ġtrue ))), ĊĠĠĠĠĠĠĠ Ġ) ĊĊĠĠĠ Ġoverride Ġfun Ġget Symbol (): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ" N " ĊĠĠĠ Ġ} Ċ } Ċ