Add horde mode (#9126)
parent
0a768a05d5
commit
4550020a33
|
@ -673,7 +673,8 @@ object Game {
|
|||
chess.variant.FromPosition,
|
||||
chess.variant.Antichess,
|
||||
chess.variant.Atomic,
|
||||
chess.variant.RacingKings
|
||||
chess.variant.RacingKings,
|
||||
chess.variant.Horde
|
||||
)
|
||||
|
||||
val hordeWhitePawnsSince = new DateTime(2015, 4, 11, 10, 0)
|
||||
|
|
|
@ -114,7 +114,7 @@ export function symbolToFile(char: string) {
|
|||
}
|
||||
|
||||
export function supportedVariant(key: string) {
|
||||
return ['standard', 'chess960', 'kingOfTheHill', 'threeCheck', 'fromPosition', 'atomic'].includes(key);
|
||||
return ['standard', 'chess960', 'kingOfTheHill', 'threeCheck', 'fromPosition', 'atomic', 'horde'].includes(key);
|
||||
}
|
||||
|
||||
export function boardSetting(): Setting<BoardStyle> {
|
||||
|
|
Loading…
Reference in New Issue