Engines playing Musketeer Chess, good price

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
musketeerchess
Posts: 161
Joined: Sun Apr 21, 2013 12:02 pm
Location: Paris, France
Contact:

Re: Engines playing Musketeer Chess, good price

Post by musketeerchess » Mon Mar 30, 2020 3:55 pm

Hi
Thanks for your nice message.
one of the ideas behind Musketeer Chess is to help get rid of openings adding new elements (flexible as the combination can change and it's possible to add different pieces also apart from those cited in the website).
It's also played on an 8x8 board, so it's a classic chess board we are used to. We are then confortable with the relative value of the classic pieces and our efforts will be toward using the new pieces and try to outsmart our opponent.

In bigger or modified boards, the relative value of all the pieces is modified. If you add fairy pieces, it's really a burden on the board.
I play regularly chess variants on bigger boards and i like them (especially Grand Chess and Shako). But i more like variants like Musketeer Chess or Seirawan Chess for the reasons i cited above.

Please Don't hesitate to mail me to musketeerchess (a) gmail .com
Zied
inventor of Musketeer Chess. A modern commercial chess variant.

www.musketeerchess.net

Pieces are available on Houseofstaunton.com or Paypal

User avatar
mvanthoor
Posts: 241
Joined: Wed Jul 03, 2019 2:42 pm
Full name: Marcel Vanthoor

Re: Engines playing Musketeer Chess, good price

Post by mvanthoor » Mon Mar 30, 2020 5:16 pm

Years ago I was looking into other games besides chess. I also tried Arimaa for a time, but ended up not liking it. Too positional, not enough tactics. I love tactical positions with sacrifices that make the position explode and end the game with a bang. Arimaa doesn't give you a lot of tools to make those positions happen; Musketeer Chess does, with pieces such as the unicorn and the Hawk.

User avatar
musketeerchess
Posts: 161
Joined: Sun Apr 21, 2013 12:02 pm
Location: Paris, France
Contact:

Re: Engines playing Musketeer Chess, good price

Post by musketeerchess » Mon Mar 30, 2020 9:57 pm

mvanthoor wrote:
Mon Mar 30, 2020 5:16 pm
Years ago I was looking into other games besides chess. I also tried Arimaa for a time, but ended up not liking it. Too positional, not enough tactics. I love tactical positions with sacrifices that make the position explode and end the game with a bang. Arimaa doesn't give you a lot of tools to make those positions happen; Musketeer Chess does, with pieces such as the unicorn and the Hawk.
Hawk and Unicorn are among my best 3 pieces (the other one is the Archbishop, i like sacrificing my queen for an archbishop even there is no clear compensation, but ot creates so much tactical opprtunities, and the Queen without the Knight compound is many positions isn't able to defend well (or attack as efficiently as the Archbishop does).
inventor of Musketeer Chess. A modern commercial chess variant.

www.musketeerchess.net

Pieces are available on Houseofstaunton.com or Paypal

User avatar
gbtami
Posts: 377
Joined: Wed Sep 26, 2012 11:29 am
Location: Hungary
Contact:

Re: Engines playing Musketeer Chess, good price

Post by gbtami » Wed Apr 01, 2020 10:14 pm

You can see some nice tactics in my latest losing S-Chess game https://www.pychess.org/VrQEOa23 :wink:

JohnWoe
Posts: 183
Joined: Sat Mar 02, 2013 10:31 pm

Re: Engines playing Musketeer Chess, good price

Post by JohnWoe » Thu Apr 02, 2020 7:32 pm

My Musketeer chess engine: https://github.com/SamuraiDangyo/Capitaine
Binaries for Windows: https://github.com/SamuraiDangyo/Capita ... /tag/v0.42

Works fine for me.
The whole Musketeer chess engine in 1 simple file. :D

User avatar
hgm
Posts: 24657
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Engines playing Musketeer Chess, good price

Post by hgm » Fri Apr 03, 2020 9:05 am

A short update on WinBoard / CECP support for Musketeer Chess:

Bug Fixes

The WinBoard-AA package now contains a WinBoard version (4.9.2020.402) that fixes some problems with loading games or FENs in engine-defined variants. It should now be possible to save and re-load PGN files with Musketeer Chess games without any problems. Castling in saved PGN should now be written as the normal SAN O-O or O-O-O, rather than as a King move like Kg1. It should also be possible to run matches and tournaments from FENs supplied in a position file, even if the different start positions use different Musketeer pieces.

Recording the prelude in PGN

A new feature is that I introduced a Prelude tag in PGN. This tag can be added on engine's request: when an engine at the start of a game (i.e. before the first move on the board) sends

tellothers prelude <any text>

the PGN for that game will include the tag

[Prelude "<any text>"]

WinBoard already had an option -autoComment true|false that would make it store texts sent by the engine through tellothers commands as comments on the current move, but the presence of the word 'prelude' in such a command at the start of the game will overrule this, and promote the text to a PGN tag even when the -autoComment option is switched off.

The purpose of this feature is that engines who have conducted a dialog with the user to negociate a start position, by selecting piece types and gating squares, can have the history of this prelude be recorded in the PGN. For Musketeer Chess only the order of the piece-type choices has to be recorded; together with the FEN of the position after the prelude (which is always included in engine-defined variants) the order in which the various gating squares were chosen follows from this.

KingSlayer-Aramis (also included in the WinBoard-AA package) now uses this to add a Prelude tag with value

white: <ID1>, black: <ID2>

whith the single-letter IDs of the Musketeer pieces that are also used to describe them in the FEN tag. WinBoard doesn't ever interpret such a tag, so the format of the text is not critical. But in the future other GUIs might want to interpret it, so I think it would be a good thing to agree on some standard for the description of a Musketeer prelude, which all engines that are able to conduct a prelude dialog then should use. When the engine did not conduct a prelude dialog (e.g. because it was started from a FEN of a position after the prelude), the Prelude tag should be omitted (i.e. the engine would not have to send a 'tellothers' command).

Conducting a prelude from the engine

The code KingSlayer-Aramis currently uses for conducting the prelude (and which I hereby place in the public domain) is:

Code: Select all

void MusketeerInit (int color, int type1, int type2, int file1, int file2);

char *whitePieces = "ACDEF00/0HLMSU";
char *blackPieces = "acdef00/0hlmsu";
char *ptc = "PNBRQ.E....C.AF.MH.SU........D............LKpnbrq.e....c.af.mh.su........d............lk";
int prelude[6], preptr, lastPrinted = -1, computer;

int
Prelude ()
{
  char buf1[80], buf2[80], buf3[12050], w, b; int i;
  static didPrelude;

  if(preptr < 6 && engineSide == (preptr & 1 ? BLACK : WHITE)) { // engine's turn to pick something
    do {
      prelude[preptr] = (preptr < 2 ? 10 : 8) * (rand() & 0xFFF) >> 12; // pick it
    } while(preptr == 1 ? prelude[0] == prelude[1]                      // retry if same piece
                        : prelude[preptr] == 4 ||                       // or gating under King
                          preptr == 5 && prelude[5] == prelude[3]);     // or on same square
    preptr++;
  } else if(preptr == lastPrinted) return (preptr < 6);
  // now it is always the user's turn to pick something (or move)
  w = whitePieces[prelude[0] + 4*(prelude[0] > 4)];
  b = blackPieces[prelude[1] + 4*(prelude[1] > 4)];
  switch(preptr) {
    case 0: // present all white pieces
      strcpy(buf1, whitePieces);
      printf("setup (%s) 8x10+0_!seirawan 8/8/8/8/0%s00/8/8/8/8 w - - 0 1\n", ptc, buf1);
      printf("piece K& KisO2\n");
      didPrelude = 0;
      break;
    case 1: // present all black pieces except the white choice
      strcpy(buf1, blackPieces);
      buf1[prelude[0] + 4*(prelude[0] > 4)] = w;
      printf("setup (%s) 8x10+0_!seirawan 8/8/8/8/0%s00/8/8/8/8 w - - 0 1\n", ptc, buf1);
      didPrelude = 1;
      break;
    case 2: // white choice fills 1st rank, black choice fills 8th
      for(i=0; i<8; i++) buf1[i] = w, buf2[i] = b; buf1[8] = buf2[8] = 0;
      printf("setup (%s) 8x10+0_!seirawan %s/rnbqkbnr/pppppppp/8/8/8/8/pppppppp/rnbqkbnr/%s w - - 0 1\n", ptc, buf2, buf1);
      didPrelude = 1;
      break;
    case 3: // white choice on its gating square, black choice fills 8th rank
      for(i=0; i<8; i++) buf1[i] = '0', buf2[i] = w + 32; buf1[8] = buf2[8] = 0;
      buf1[prelude[2]] = w;
      printf("setup (%s) 8x10+0_!seirawan %s/RNBQKBNR/PPPPPPPP/8/8/8/8/PPPPPPPP/RNBQKBNR/%s w - - 0 1\n", ptc, buf2, buf1);
      break;
    case 4: // whitened black choice on remaining 5-7 1st-rank squares, blackened white choice on its gating square
      for(i=0; i<8; i++) buf1[i] = b - 32, buf2[i] = '0'; buf1[8] = buf2[8] = 0;
      buf2[prelude[3]] = w + 32; buf1[prelude[2]] = w + 32;
      if(prelude[2] == 4) buf1[0] = buf1[7] = '0'; if(prelude[2] == 0 || prelude[2] == 7) buf1[4] = '0'; // no K & R
      printf("setup (%s) 8x10+0_!seirawan %s/rnbqkbnr/pppppppp/8/8/8/8/pppppppp/rnbqkbnr/%s w - - 0 1\n", ptc, buf2, buf1);
      break;
    case 5: // both whitened pieces on their gating squares, blackened white choice on 7, 6 or 5 remaining 8th-rank squares
      for(i=0; i<8; i++) buf1[i] = '0', buf2[i] = b; buf1[8] = buf2[8] = 0;
      buf2[prelude[3]] = w; buf1[prelude[2]] = w; buf1[prelude[4]] = b - 32;
      if(prelude[3] == 4) buf2[0] = buf2[7] = '0'; if(prelude[3] == 0 || prelude[3] == 7) buf2[4] = '0'; // no K & R
      printf("setup (%s) 8x10+0_!seirawan %s/RNBQKBNR/PPPPPPPP/8/8/8/8/PPPPPPPP/RNBQKBNR/%s w - - 0 1\n", ptc, buf2, buf1);
      break;
    case 6:
      strcpy(buf3, ptc);
      for(i=5; i<43; i++) if(ptc[i] != w && ptc[i] != b - 32) buf3[i] = buf3[i+44] = '.';
      for(i=0; i<8; i++) buf1[i] = '*', buf2[i] = '*'; buf1[8] = buf2[8] = 0;
      buf2[prelude[3]] = w + 32; buf2[prelude[5]] = b; buf1[prelude[2]] = w; buf1[prelude[4]] = b - 32;
      printf("setup (%s) 8x10+0_seirawan %s/rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR/%s w KQBCDFGkqbcdfg - 0 1\n", buf3, buf2, buf1);
      printf("piece K& KisO2\n"); // to make castling work despite extra ranks
      stepPtr = 31; nBound = 0; discoMask[WHITE] = discoMask[BLACK] = 0;
      MusketeerInit(WHITE, prelude[0], prelude[1], prelude[2], prelude[4]); // This sends CECP 'piece' command for 1st piece
      MusketeerInit(BLACK, prelude[1], prelude[0], prelude[5], prelude[3]); // KLUDGE: swap piece order
      if(didPrelude) printf("tellothers prelude white: %c, black: %c\n", typeID[4+prelude[0]], typeID[4+prelude[1]]); // for in the PGN
  }
  lastPrinted = preptr;
  return (preptr < 6);
}
(Warning to GUI developers: this code can generates FENs that can contain '0' (zero), which WinBoard interprets as 'a single empty square', but unlike '1', which also means that, will not coalesce with any following digits. So "00" means two empty squares, while "11" would have meant eleven empty squares. This convention was adopted to make it easier for engines to clear squares in a FEN.) The Prelude() code is used by prefixing the test that would normally decide whether the engine should start thinking by

Code: Select all

    if(!musketeer || !Prelude())
(where 'musketeer' indicates we are playing Musketeer Chess). This suppresses any thinking about board moves until the prelude has been completed. Note the presented code makes the engine's own choices at random; other engines could of course have special routines to determine the best choices, or take those from an internal 'book'.

The dialog is conducted by presenting the user with boards (through non-final 'setup' commands) on which he can indicate his choices by clicking on a piece of his color. To become aware of these clicks the engine should have sent feature highlight=1 at startup, and interpret the 'lift' commands that WinBoard will then use to relay the clicks, through the code

Code: Select all

    if(!strcmp(command, "lift"))    { // interpret "lift <SQUARE>"
      int f = inBuf[5] - 'a', r = inBuf[6] - '1'; // file and rank of clciked square
      if(r == 3) f += 4; else if(r == 4) f--; // piece-type selection, translate square to type
      if(variant && preptr < 6) prelude[preptr++] = f; // record prelude history
      return 1;
    }
Set-up positions

On receiving a 'setboard' command for setting up a position the prelude (which always will have commenced automatically at the start of a new game by presenting the first 'menu board' for the white player, which also informs the GUI about how to represent the complete set of Musketeer pieces) must be aborted. But the last step of it, which includes the initialization of the engine for the participating pieces, and the sending of the final 'setup' command to the GUI, will always have to be done. This is achieved by setting preptr to 6, after the FEN reader deduced from the FEN what the prelude history could have been (filling the array prelude[] with the codes for the piece types and file number of the gating squares as it encounters them on rank 0 and 9):

Code: Select all

    if(!strcmp(command, "setboard")){ engineSide = NONE;  stm = Setup(inBuf+9); preptr = 6; return 1; }
On receiving a 'new' command preptr should be reset to 0, and lastPrinted to -1, so that the new game will again start with a prelude.

JohnWoe
Posts: 183
Joined: Sat Mar 02, 2013 10:31 pm

Re: Engines playing Musketeer Chess, good price

Post by JohnWoe » Sun Apr 05, 2020 7:53 pm

^ The UCI prelude was a bit clumsy.

My Capitaine 0.44
Here is a sample game in UCI format:
Doesn't crash anymore.
Is there a GUI that reads Musketeer Chess UCI games ?

Code: Select all

   abcdefgh
 9 ........ 9
 8 ...k.... 8 turn:   w
 7 ........ 7 rule50: 0
 6 ........ 6 ep:     -
 5 ........ 5 castle: -
 4 ........ 4 move:   c7d8 
 3 ..K..... 3 gated1: D
 2 ........ 2 gated2: S
 1 ........ 1
 0 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5 e7f6 c5b4 f6g5 b4c3 g5g4 c3d3 g4g5 d3e3 g5f6 e3f4 f6e7 f4g5 e7d6 g5f6 d6c5 f6e7 d5d6 e7e6 c5b4 e6f6 b4b5 f6e6 b5b4 e6d7 b4c3 d7c8 d6d7 c8c7 d7d8d c7d8 { Drawn 1/2-1/2 }

User avatar
hgm
Posts: 24657
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Engines playing Musketeer Chess, good price

Post by hgm » Sun Apr 05, 2020 8:35 pm

Not that I know. But you could write a FEN tag instead of the prelude, to make it into PGN, and then WinBoard might eat it.

Code: Select all

[Event "?"]
[Site "?"]
[Date "?"]
[Round "-"]
[White "?"]
[Black "?"]
[Result "*"]
[Variant "musketeer"]
[VariantMen "S:B2ND;D:QN;K:KisO2"]
[FEN "*s****d*/rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR/***S**D* w KQkq - 0 1"]
[SetUp "1"]

{--------------
. s . . . . d .
r n b q k b n r
p p p p p p p p
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
P P P P P P P P
R N B Q K B N R
. . . S . . D .
white to play
--------------}
1. Nf3/D Na6/S 2. c4 Nf6/D 3. d4 Sb6 4. Qb3/S e6 5. c5 Sb8 6. e3 c6 7. Nc3
Qa5 8. Bd3 Bxc5 9. Bxa6 Bb4 10. Bd3 Nd5 11. Bd2 Bxc3 12. bxc3 Nf6 13. Dh3
Dh6 14. O-O Nh5 15. g4 Nf6 16. Dxh6 gxh6 17. h3 Rg8 18. Se2 Nxg4 19. Rfb1
Ne5+ 20. Kf1 Nxd3 21. Se4 Qf5 22. Sxf5 exf5 23. Qc2 Nxf2 24. Kxf2 d5 25.
Rg1 Rg6 26. Ne5 Rxg1 27. Rxg1 Sc7 28. Rg7 Be6 29. Rxh7 Ke7 30. Nxf7 Bxf7
31. Rxh6 Rf8 32. Qb1 Sa8 33. Qb4+ Ke8 34. Qd6 Sb6 35.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Posts: 183
Joined: Sat Mar 02, 2013 10:31 pm

Re: Engines playing Musketeer Chess, good price

Post by JohnWoe » Mon Apr 06, 2020 10:13 am

^ Thanks !

I propose some changes to Musketeer FEN :
https://github.com/SamuraiDangyo/Capitaine#fen-changes
I put it here as it changes anyway at some point :
Does this make any sense ? I found parsing that Musketeer-SF fen-format really cumbersome in C.

Code: Select all

## FEN changes
Fen-format on [Musketeer-Stockfish](https://github.com/ianfab/Musketeer-Stockfish/wiki/Interface#fen-format) was clumsy and cumbersome.
So I invented a much simpler method :

Gated pieces are set like this :
```
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[DHabac] w
Stage 1 : White selects a Dragon
Stage 2 : White selects a Hawk
Stage 3 : White places Dragon on a-file
Stage 4 : Black places Dragon on b-file
Stage 5 : White places Hawk on a-file
Stage 6 : Black places Hawk on c-file
```

If all pieces are in the play use this form :
```
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[-] w
```
Searching is really simple w/ this format :

Code: Select all

./capitaine -fen "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[DH] w KQkq" -search 1000
info depth 0 nodes 32 time 2 nps 16000 score cp -26 pv D@a0
info depth 1 nodes 194 time 4 nps 48500 score cp -16 pv D@a0
info depth 2 nodes 449 time 4 nps 112250 score cp -26 pv D@a0
info depth 3 nodes 1773 time 4 nps 443250 score cp -16 pv D@a0
info depth 4 nodes 8627 time 6 nps 1437833 score cp 1004 pv D@g0
info depth 5 nodes 21107 time 10 nps 2110700 score cp 558 pv D@g0
info depth 6 nodes 120462 time 67 nps 1797940 score cp 566 pv D@g0
info depth 7 nodes 1796256 time 587 nps 3060061 score cp 27 pv D@d0
info depth 8 nodes 3205742 time 1000 nps 3205742 score cp 27 pv D@d0
I fixed my Capitaine engine :
How about this game ? :

Code: Select all

[ Variant: Musketeer Chess ]
[ Time: 10000 ]
[ Date: 06.04.2020 13:03:37 ]
[ White: Capitaine 0.45 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6f6 g4f4 f6e7 f4e4 e7f6 d5c5 f6f7 e4e7 f7g8 e7b7
{ Drawn 1/2-1/2 }

User avatar
hgm
Posts: 24657
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Engines playing Musketeer Chess, good price

Post by hgm » Mon Apr 06, 2020 3:20 pm

I don't like the holdings field of a FEN to contain board coordinates; that would give it a different meaning from what it has in any other variant, where lower-case letters would indicate black pieces.

The currently used FEN is simply the 'what-you-see-is-what-you-get' FEN, telling the GUI what to display. There is one alternative format that I would consider acceptable (and even would prefer): this introduces a novel general notation in FENs for 'stacking' multiple pieces on the same square. Such a stack would then be indicated by enclosing the stacked pieces in parentheses. The way this should then be interpreted in Musketeer Chess is that the first-mentioned piece is the movable square occupant, and the second-mentioned piece is 'uncovered' (i.e. gated) when the first-mentioned piece moves away.

It would require an enhancement of XBoard's FEN parser to recognize this notation as a way to put pieces on the gating ranks of 'holdingless Seirawan'.

Post Reply