Add a temporary patch for so far unexplained bug
[xogo.git] / variants.js
CommitLineData
41534b92 1const variants = [
3a77a0b4
BA
2// { name: 'Absorption', desc: 'Absorb powers' },
3// { name: 'Alapo', desc: 'Geometric Chess' },
4// { name: 'Alice', desc: 'Both sides of the mirror' },
5// { name: 'Align4', desc: 'Align four pawns' },
6// { name: 'Allmate', desc: 'Mate any piece' },
7// { name: 'Ambiguous', desc: "Play opponent's pieces" },
8// { name: 'Antiking1', desc: 'Keep antiking in check', disp: 'Anti-King' },
9// { name: 'Antimatter', desc: 'Dangerous collisions', disp: 'Antimatter' },
10// { name: 'Apocalypse', desc: 'The end of the world' },
11// { name: 'Arena', desc: 'Middle battle' },
12// { name: 'Atarigo', desc: 'First capture wins', disp: 'Atari-Go' },
13 {name: 'Atomic', desc: 'Explosive captures'},
14// { name: 'Avalam', desc: 'Build towers' },
15// { name: 'Avalanche', desc: 'Pawnfalls' },
16// { name: 'Ball', desc: 'Score a goal' },
17// { name: 'Balaklava', desc: 'Meet the Mammoth' },
18// { name: 'Bario', desc: 'A quantum story' },
19 {name: "Balanced", desc: "balanced chess"},
20// { name: 'Baroque', desc: 'Exotic captures' },*/
6f74b81a 21 { name: "Benedict", desc: "Change colors" },
3a77a0b4
BA
22// { name: 'Berolina', desc: 'Pawns move diagonally' },
23// { name: 'Bicolour', desc: 'Harassed kings' },
24// { name: 'Bishopawns', desc: 'Bishop versus pawns', disp: 'Bishop-Pawns' },
25// { name: 'Brotherhood', desc: 'Friendly pieces' },
41534b92 26 { name: 'Cannibal', desc: 'Capture powers' },
3a77a0b4 27// { name: 'Capablanca', desc: 'Capablanca Chess', disp: 'Capablanca Chess' },
41534b92 28 { name: 'Capture', desc: 'Mandatory captures' },
3a77a0b4
BA
29// { name: 'Castle', desc: 'Win by castling long' },
30// { name: 'Chakart', desc: 'Capture the princess' },
31// { name: 'Checkered', desc: 'Shared pieces' },
32// { name: 'Checkless', desc: 'No-check mode' },
33 { name: 'Chess960', disp: "Chess 960", desc: "Standard rules" },
34// { name: 'Circular', desc: 'Run forward' },
35// { name: 'Clorange', desc: 'A Clockwork Orange', disp: 'Clockwork Orange' },
36// { name: 'Convert', desc: 'Convert enemy pieces' },
37// { name: 'Copycat', desc: 'Borrow powers' },
38// { name: 'Coregal', desc: 'Two royal pieces' },
39// { name: 'Coronation', desc: 'Long live the Queen' },
41534b92 40 { name: 'Crazyhouse', desc: 'Captures reborn' },
3a77a0b4 41// { name: 'Crossing', desc: 'Cross the river' },
41534b92 42 { name: 'Cylinder', desc: 'Neverending rows' },
3a77a0b4 43// { name: 'Cwda', desc: 'New teams', disp: 'Different armies' },
41534b92 44 { name: 'Dark', desc: 'In the shadow' },
3a77a0b4
BA
45// { name: 'Diamond', desc: 'Rotating board' },
46// { name: 'Dice', desc: 'Roll the dice' },
47// { name: 'Discoduel', desc: 'Enter the disco', disp: 'Disco Duel' },
48// { name: 'Dobutsu', desc: "Let's catch the Lion!" },
49// { name: 'Doublearmy', desc: '64 pieces on the board', disp: 'Double Army' },
41534b92 50 { name: 'Doublemove', desc: 'Double moves' },
3a77a0b4
BA
51// { name: 'Dynamo', desc: 'Push and pull' },
52// { name: 'Eightpieces', desc: 'Each piece is unique', disp: '8-Pieces' },
53// { name: 'Emergo', desc: 'Stacking Checkers variant' },
54// { name: 'Empire', desc: 'Empire versus Kingdom' },
55// { name: 'Enpassant', desc: 'Capture en passant', disp: 'En-passant' },
56// { name: 'Evolution', desc: 'Faster development' },
57// { name: 'Extinction', desc: 'Capture all of a kind' },
58// { name: 'Fanorona', desc: 'Malagasy Draughts' },
59// { name: 'Football', desc: 'Score a goal' },
60// { name: 'Forward', desc: 'Moving forward' },
61// { name: 'Freecapture', desc: 'Capture both colors', disp: 'Free Capture' },
62// { name: 'Fugue', desc: 'Baroque Music' },
63// { name: 'Fullcavalry', desc: 'Lancers everywhere', disp: 'Full Cavalry' },
64// { name: 'Fusion', desc: 'Fusion pieces (v1)' },
65// { name: 'Gomoku', desc: 'Align five stones' },
66// { name: 'Grand', desc: 'Big board' },
67// { name: 'Grasshopper', desc: 'Long jumps over pieces' },
68// { name: 'Gridolina', desc: 'Jump the borders' },
69// { name: 'Hamilton', desc: 'Walk on a graph' },
70// { name: 'Hidden', desc: 'Unidentified pieces', disp: 'Strate-Go' },
71// { name: 'Hiddenqueen', desc: 'Queen disguised as a pawn', disp: 'Hidden Queen' },
72// { name: 'Hoppelpoppel', desc: 'Knibis and Bisknis', disp: 'Hoppel-Poppel' },
73// { name: 'Horde', desc: 'A pawns cloud' },
74// { name: 'Hypnotic', desc: 'Mind control (v1)' },
75// { name: 'Iceage', desc: 'Ice Age is coming!', disp: 'Ice Age' },
76// { name: 'Interweave', desc: 'Interweaved colorbound teams' },
77// { name: 'Isardam', desc: 'No paralyzed pieces' },
78// { name: 'Janggi', desc: 'Korean Chess' },
79// { name: 'Joker', desc: 'Replace pieces' },
80// { name: 'Karouk', desc: 'Thai Chess (v3)', disp: 'Kar-Ouk' },
81// { name: 'Kinglet', desc: 'Protect your pawns' },
82// { name: 'Kingsmaker', desc: 'Promote into kings' },
83// { name: 'Knightmate', desc: 'Mate the knight' },
84// { name: 'Knightpawns', desc: 'Knight versus pawns', disp: 'Knight-Pawns' },
85// { name: 'Knightrelay', desc: 'Move like a knight' },
86// { name: 'Konane', desc: 'Hawaiian Checkers' },
87// { name: 'Koopa', desc: 'Stun & kick pieces' },
88// { name: 'Koth', desc: 'King of the Hill', disp:'King of the Hill' },
89// { name: 'Losers', desc: 'Get strong at self-mate' },
90// { name: 'Madhouse', desc: 'Rearrange enemy pieces' },
91// { name: 'Madrasi', desc: 'Paralyzed pieces' },
92// { name: 'Magnetic', desc: 'Laws of attraction' },
93// { name: 'Maharajah', desc: 'Augmented Queens' },
94// { name: 'Makpong', desc: 'Thai Chess (v2)' },
95// { name: 'Makruk', desc: 'Thai Chess (v1)' },
96// { name: 'Maxima', desc: 'Occupy the enemy palace' },
97// { name: 'Mesmer', desc: 'Mind control (v2)' },
98// { name: 'Minishogi', desc: 'Shogi 5 x 5' },
99// { name: 'Minixiangqi', desc: 'Xiangqi 7 x 7' },
100// { name: 'Monocolor', desc: 'All of the same color' },
101// { name: 'Monster', desc: 'White move twice' },
102// { name: 'Musketeer', desc: 'New fairy pieces' },
103// { name: 'Newzealand', desc: 'Kniros and Rosknis', disp: 'New-Zealand' },
104// { name: 'Omega', desc: 'A wizard in the corner' },
105// { name: 'Orda', desc: 'Mongolian Horde (v1)' },
106// { name: 'Ordamirror', desc: 'Mongolian Horde (v2)', disp: 'Orda Mirror' },
107// { name: 'Otage', desc: 'Capture and release hostages' },
108// { name: 'Pacifist', desc: 'Convert & support' },
109// { name: 'Pacosako', desc: 'Dance with the King', disp: 'Paco-Sako' },
110// { name: 'Pandemonium', desc: 'Noise and confusion' },
111// { name: 'Parachute', desc: 'Landing on the board' },
112// { name: 'Pawnmassacre', desc: 'Pieces upside down', disp: 'Pawn Massacre' },
113// { name: 'Pawns', desc: 'Reach the last rank (v1)' },
114// { name: 'Pawnsking', desc: 'Reach the last rank (v2)', disp: 'Pawns & King' },
115// { name: 'Perfect', desc: 'Powerful pieces' },
116// { name: 'Pocketknight', desc: 'Knight in pocket', disp: 'Pocket Knight' },
117// { name: 'Progressive', desc: 'Play more and more moves' },
118// { name: 'Queenpawns', desc: 'Queen versus pawns', disp: 'Queen-Pawns' },
119// { name: 'Racingkings', desc: 'Kings cross the 8x8 board', disp: 'Racing Kings' },
120// { name: 'Rampage', desc: 'Move under cover' },
121// { name: 'Relayup', desc: 'Upgrade pieces', disp: 'Relay-up' },
122// { name: 'Rifle', desc: 'Shoot pieces' },
41534b92 123 { name: 'Recycle', desc: 'Reuse pieces' },
3a77a0b4
BA
124// { name: 'Refusal', desc: 'Do not play that!' },
125// { name: 'Rollerball', desc: 'As in the movie' },
126// { name: 'Rococo', desc: 'Capture on the edge' },
127// { name: 'Rookpawns', desc: 'Rook versus pawns', disp: 'Rook-Pawns' },
128// { name: 'Royalrace', desc: 'Kings cross the 11x11 board', disp: 'Royal Race' },
129// { name: 'Rugby', desc: 'Transform an essay' },
130// { name: 'Schess', desc: 'Seirawan-Harper Chess', disp: 'Seirawan-Harper Chess' },
131// { name: 'Screen', desc: 'Free initial setup' },
132// { name: 'Selfabsorb', desc: 'Fusion pieces (v2)', disp: 'Self-Absorption' },
133// { name: 'Shako', desc: 'Non-conformism and utopia' },
134// { name: 'Shatranj', desc: 'Ancient rules' },
135// { name: 'Shinobi', desc: 'A story of invasion' },
136// { name: 'Shogi', desc: 'Japanese Chess' },
137// { name: 'Shogun', desc: "General's Chess" },
138// { name: 'Sittuyin', desc: 'Burmese Chess' },
139// { name: 'Spartan', desc: 'Spartan versus Persians' },
140// { name: 'Squatter', desc: 'Squat last rank' },
141// { name: 'Stealthbomb', desc: 'Beware the bomb', disp: 'Stealth Bomb' },
142// { name: 'Suicide', desc: 'Lose all pieces' },
143// { name: 'Suction', desc: 'Attract opposite king' },
144// { name: 'Swap', desc: 'Dangerous captures' },
145// { name: 'Switching', desc: "Exchange pieces' positions" },
146// { name: 'Synchrone', desc: 'Play at the same time' },
147// { name: 'Synochess', desc: 'Dynasty versus Kingdom' },
148// { name: 'Takenmake', desc: 'Prolongated captures', disp: 'Take and make' },
41534b92 149 { name: 'Teleport', desc: 'Reposition pieces' },
3a77a0b4
BA
150// { name: 'Tencubed', desc: 'Four new pieces' },
151// { name: 'Threechecks', desc: 'Give three checks', disp: 'Three Checks' },
152// { name: 'Titan', desc: 'Extra bishops and knights' },
153// { name: 'Twokings', desc: 'Two kings', disp: 'Two Kings' },
154// { name: 'Upsidedown', desc: 'Board upside down', disp: 'Upside-down' },
155// { name: 'Vchess', desc: 'Pawns capture backward', disp: 'Victor Chess' },
156// { name: 'Wildebeest', desc: 'Balanced sliders & leapers' },
157// { name: 'Wormhole', desc: 'Squares disappear' },
158// { name: 'Xiangqi', desc: 'Chinese Chess' },
159// { name: 'Yote', desc: 'African Draughts' },
41534b92
BA
160 { name: "Zen", disp: "Zen Chess", desc: "Reverse captures" }
161];
162
163// Next line for usage on server (Node.js)
164if (typeof window === 'undefined') module.exports = variants;