From: RainRat Date: Wed, 24 May 2023 14:50:17 +0000 (-0700) Subject: add Tic-Tac-Chess, Capture the Queen, Cowboys, River, Dragon Chess (#659) X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=589eac359c8e5be481ee8487c647cffd6654ed5b;p=fairystockfish.git add Tic-Tac-Chess, Capture the Queen, Cowboys, River, Dragon Chess (#659) --- diff --git a/appveyor.yml b/appveyor.yml index edea4e7..c073aa7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -47,7 +47,7 @@ before_build: 'add_compile_definitions(NNUE_EMBEDDING_OFF)', 'add_executable(stockfish ${source_files})' - # Write CMakeLists.txt withouth BOM + # Write CMakeLists.txt without BOM $MyPath = (Get-Item -Path "." -Verbose).FullName + '\CMakeLists.txt' $Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $False [System.IO.File]::WriteAllLines($MyPath, $t, $Utf8NoBomEncoding) diff --git a/src/syzygy/tbprobe.cpp b/src/syzygy/tbprobe.cpp index 087e457..747acf1 100644 --- a/src/syzygy/tbprobe.cpp +++ b/src/syzygy/tbprobe.cpp @@ -770,7 +770,7 @@ Ret do_probe_table(const Position& pos, T* entry, WDLScore wdl, ProbeState* resu goto encode_remaining; // With pawns we have finished special treatments } - // In positions withouth pawns, we further flip the squares to ensure leading + // In positions without pawns, we further flip the squares to ensure leading // piece is below RANK_5. if (rank_of(squares[0]) > RANK_4) for (int i = 0; i < size; ++i) diff --git a/src/variants.ini b/src/variants.ini index ddb7fc2..6e3f64b 100644 --- a/src/variants.ini +++ b/src/variants.ini @@ -1342,8 +1342,6 @@ flagPiece = b flagRegionBlack = *1 mobilityRegionWhiteCustomPiece2 = *2 *3 *4 *5 *6 mobilityRegionWhiteCustomPiece3 = *2 *3 *4 *5 *6 -extinctionValue = loss -extinctionPieceTypes = * stalemateValue = loss #https://www.zillions-of-games.com/cgi-bin/zilligames/submissions.cgi?do=show;id=1596 @@ -1464,6 +1462,13 @@ nFoldRule = 0 #https://ludii.games/details.php?keyword=Dris%20at-Talata connectDiagonal = false +#https://ludii.games/details.php?keyword=Tic-Tac-Chess +[tictacchess:picaria] +startFen = 3/3/3[KQRkqr] w - - 0 1 +customPiece1 = k:mKmgQ +customPiece2 = q:mQmgQ +customPiece3 = r:mRmgQ + [asimplegame] #https://ludii.games/details.php?keyword=A%20Simple%20Game maxRank = 4 @@ -1515,3 +1520,38 @@ customPiece1 = q:mQ connectN = 4 nMoveRule = 0 nFoldRule = 0 + +#https://www.ludii.games/details.php?keyword=Capture%20the%20Queen +[capturethequeen] +startFen = 3q4/8/8/8/8/8/8/1QQ1QQ2 +queen = q +extinctionPieceTypes = q +nFoldRule = 0 +#default #nMoveRule = 50 +materialCounting = blackdrawodds + +#https://www.zillions-of-games.com/cgi-bin/zilligames/submissions.cgi?do=show;id=732 +[river:chess] +king = - +commoner = k +castlingKingPiece = k +flagPiece = * +flagRegionWhite = *8 +flagRegionBlack = *1 + +#https://www.zillions-of-games.com/cgi-bin/zilligames/submissions.cgi?do=show;id=237 +[cowboys:amazons] +maxRank = 7 +maxFile = g +customPiece1 = n:mN +pieceToCharTable = .N.....................n.................... +startFen = 2n1n2/7/n5n/7/N5N/7/2N1N2 w - - 0 1 + +#https://www.zillions-of-games.com/cgi-bin/zilligames/submissions.cgi?do=show;id=1813 +[dragon-chess:chess] +customPiece1 = b:BK +customPiece2 = n:NK +customPiece3 = p:KifmnD +customPiece4 = r:RK +castlingRookPieces = r +pawnTypes = p diff --git a/tests/js/README.md b/tests/js/README.md index bef433b..5e198ec 100644 --- a/tests/js/README.md +++ b/tests/js/README.md @@ -229,7 +229,7 @@ let configFilePath = './variants.ini'; For an example of each available function see [test.js](https://github.com/ianfab/Fairy-Stockfish/blob/master/tests/js/test.js). -## Build instuctions +## Build instructions It is built using emscripten/Embind from C++ source code.