Add Tencubed and Omega variants + some fixes (updateCastleFlags()) + cleaner FEN...
[vchess.git] / server / db / populate.sql
index 4060a44..2fb1b0d 100644 (file)
@@ -1,40 +1,65 @@
 -- Re-run this script after variants are added
 
 -- Re-run this script after variants are added
 
-insert or ignore into Variants (name,description) values
+insert or ignore into Variants (name, description, noProblems) values
+  ('Apocalypse', 'The end of the world', true),
+  ('Dark', 'In the shadow', true),
+  ('Hidden', 'Unidentified pieces', true),
+  ('Hiddenqueen', 'Queen disguised as a pawn', true),
+  ('Synchrone', 'Play at the same time', true);
+
+insert or ignore into Variants (name, description) values
   ('Alice', 'Both sides of the mirror'),
   ('Allmate1', 'Mate any piece (v1)'),
   ('Allmate2', 'Mate any piece (v2)'),
   ('Alice', 'Both sides of the mirror'),
   ('Allmate1', 'Mate any piece (v1)'),
   ('Allmate2', 'Mate any piece (v2)'),
-  ('Antiking', 'Keep antiking in check'),
+  ('Antiking1', 'Keep antiking in check (v1)'),
+  ('Antiking2', 'Keep antiking in check (v2)'),
   ('Antimatter', 'Dangerous collisions'),
   ('Arena', 'Middle battle'),
   ('Atomic', 'Explosive captures'),
   ('Antimatter', 'Dangerous collisions'),
   ('Arena', 'Middle battle'),
   ('Atomic', 'Explosive captures'),
+  ('Ball', 'Score a goal'),
   ('Baroque', 'Exotic captures'),
   ('Benedict', 'Change colors'),
   ('Berolina', 'Pawns move diagonally'),
   ('Baroque', 'Exotic captures'),
   ('Benedict', 'Change colors'),
   ('Berolina', 'Pawns move diagonally'),
+  ('Cannibal', 'Capture powers'),
+  ('Capture', 'Mandatory captures'),
   ('Checkered', 'Shared pieces'),
   ('Checkered', 'Shared pieces'),
+  ('Checkless', 'No-check mode'),
   ('Chess960', 'Standard rules'),
   ('Circular', 'Run forward'),
   ('Chess960', 'Standard rules'),
   ('Circular', 'Run forward'),
+  ('Coregal', 'Two royal pieces'),
   ('Crazyhouse', 'Captures reborn'),
   ('Cylinder', 'Neverending rows'),
   ('Crazyhouse', 'Captures reborn'),
   ('Cylinder', 'Neverending rows'),
-  ('Dark', 'In the shadow'),
+  ('Doublearmy', '64 pieces on the board'),
+  ('Dynamo', 'Push and pull'),
   ('Eightpieces', 'Each piece is unique'),
   ('Enpassant', 'Capture en passant'),
   ('Extinction', 'Capture all of a kind'),
   ('Grand', 'Big board'),
   ('Grasshopper', 'Long jumps over pieces'),
   ('Eightpieces', 'Each piece is unique'),
   ('Enpassant', 'Capture en passant'),
   ('Extinction', 'Capture all of a kind'),
   ('Grand', 'Big board'),
   ('Grasshopper', 'Long jumps over pieces'),
-  ('Hidden', 'Unidentified pieces'),
-  ('Hiddenqueen', 'Queen disguised as a pawn'),
+  ('Horde', 'A pawns cloud'),
   ('Knightmate', 'Mate the knight'),
   ('Knightmate', 'Mate the knight'),
-  ('Knightrelay', 'The knight transfers its powers'),
-  ('Losers', 'Lose all pieces'),
+  ('Knightrelay1', 'Move like a knight (v1)'),
+  ('Knightrelay2', 'Move like a knight (v2)'),
+  ('Losers', 'Get strong at self-mate'),
   ('Magnetic', 'Laws of attraction'),
   ('Magnetic', 'Laws of attraction'),
-  ('Marseille', 'Move twice'),
+  ('Marseille', 'Double moves'),
+  ('Monster', 'White move twice'),
+  ('Omega', 'A wizard in the corner'),
+  ('Orda', 'Mongolian Horde'),
+  ('Parachute', 'Landing on the board'),
+  ('Perfect', 'Powerful pieces'),
+  ('Racingkings', 'Kings cross the 8x8 board'),
   ('Rifle', 'Shoot pieces'),
   ('Rifle', 'Shoot pieces'),
-  ('Royalrace', 'Kings cross the board'),
   ('Recycle', 'Reuse pieces'),
   ('Recycle', 'Reuse pieces'),
+  ('Royalrace', 'Kings cross the 11x11 board'),
+  ('Rugby', 'Transform an essay'),
+  ('Schess', 'Seirawan-Harper Chess'),
   ('Shatranj', 'Ancient rules'),
   ('Shatranj', 'Ancient rules'),
+  ('Suicide', 'Lose all pieces'),
   ('Suction', 'Attract opposite king'),
   ('Suction', 'Attract opposite king'),
+  ('Tencubed', 'Four new pieces'),
   ('Threechecks', 'Give three checks'),
   ('Threechecks', 'Give three checks'),
+  ('Twokings', 'Two kings'),
   ('Upsidedown', 'Board upside down'),
   ('Wildebeest', 'Balanced sliders & leapers'),
   ('Wormhole', 'Squares disappear'),
   ('Upsidedown', 'Board upside down'),
   ('Wildebeest', 'Balanced sliders & leapers'),
   ('Wormhole', 'Squares disappear'),