[ Help | Earliest Comments | Latest Comments ][ List All Subjects of Discussion | Create New Subject of Discussion ][ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]Single Comment ChessV. Program for playing numerous Chess variants against your PC.[All Comments] [Add Comment or Rating] 📝Greg Strong wrote on Thu, Oct 13, 2022 05:37 PM UTC in reply to Aurelian Florea from 05:02 PM:No problem. Use the promotion rule as normal - always allow promotion to Joker. Then, there is another rule you can use to limit the number of pieces of a given type on the board. LimitPieceTypeQuantityRule( PieceType, maxCount ). So: AddRule( LimitPieceTypeQuantityRule( Joker, 1 ) );
No problem. Use the promotion rule as normal - always allow promotion to Joker. Then, there is another rule you can use to limit the number of pieces of a given type on the board. LimitPieceTypeQuantityRule( PieceType, maxCount ). So:
AddRule( LimitPieceTypeQuantityRule( Joker, 1 ) );