Closed ARNAV69420 closed 1 year ago
See https://github.com/fairy-stockfish/Fairy-Stockfish/wiki/Command-line. Only the CECP protocol is practicable for manual human usage, so you can have a look at the example in that section.
I implemented one of the variants as follows:
[chessGC:chess]
pawn = p:mfFcfW
startFen = rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w - - 3+3 0 1
checkCounting = true
My variant needed to have pawns which move diagonally and capture forward. and there is no Castling Rules and Enpassent. Is this the right way to do it? I actually used the fairyfishgui. To load the engine and this variant file. But it played simple chess, when even the pawns can move double in the start. Is this the correct way to go about it?
You need to remove the existing pawn piece, like pawn = -
otherwise it has to guess which of the two p pieces you mean in the start FEN.
Edit: I misread. I thought you were using a custom piece. You can't override the betza notation for existing piece types.
customPiece1 = p:mfFcfW
knight = n
bishop = b
rook = r
queen = q
king = k
promotedPieceType = p:q
promotionRank = 8
mandatoryPiecePromotion = true
castling = false
startFen = rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w - - 3+3 0 1
checkCounting = true
I used something like this, But in this the Pawn is not promoting. Can you suggest some changes which would be the best to implement promotion for the custom piece. Also, how strong would be Fairy chess with such user defined rules. Can NNUE also be used in it?
As mentioned, you need to reset/remove the pawn, i.e., pawn = -
.
Issues in general are for bug reports and feature request. For usage questions please use either discord or github discussions.
So, I want to run one of the variants (which is listed here). Can someone help how to run this in the command line? Like I want to do something, where it can have a start colour like it can be black or white. Then I feed moves accordingly. Is this possible?