diff --git a/config b/config new file mode 100644 index 0000000..1962dbb --- /dev/null +++ b/config @@ -0,0 +1,60 @@ +This is the config file for Sushi chess. + + +Separate each value with tabs. +If you want to use the program defaults settings for one point, +just comment the three letter acronym. + + +Pieces value during midgame (pvm) + PAWN QUEEN KING BISHOP KNIGHT ROOK +#pvm 10 90 70 -10 30 50 +#pvm 30 90 50 -10 30 35 +pvm -10 -10 -10 -10 -10 -10 + +Pieces value during endgame (pve) + PAWN QUEEN KING BISHOP KNIGHT ROOK +pve -90 -40 -40 -40 -70 -10 +#pve -10 -10 -10 -10 -10 -10 + + +Squares weight during midgame (swm) +swm +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +-20 -10 -10 -10 -10 -10 -10 -20 +-13 0 3 5 5 3 0 -10 +-10 2 15 15 15 15 2 -10 +-10 7 15 25 25 15 7 -10 +-10 7 15 25 25 15 7 -10 +-10 2 15 15 15 15 2 -10 +-13 0 3 5 5 3 0 -10 +-20 -10 -10 -10 -10 -10 -10 -20 + +Squares weight during endgame (swe) +swe +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 + +Primary and secondary mobility value during midgame (mvm) +The primary mobility value is the number of legal moves. +The secondary mobility value is all possible but non legal moves. +mvm 60 40 + +Primary and secondary mobility value during endgame (mve) +mve 0 0 + +Number of pawn and number or pieces on the opposite team before switching to endgame strategy (npp) +npp 3 6 diff --git a/openbook b/openbook new file mode 100644 index 0000000..97ee2af --- /dev/null +++ b/openbook @@ -0,0 +1,25 @@ +a2a4 b7b5 a4b5 b8a6 +e2e3 e7e6 b2b3 b7b6 f1a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ory (http://www.matf.bg.ac.yu/~andrew/suicide/2004/en002.htm) +k7/8/6R1/8/8/8/8/8 w - - 0 1 +8/8/8/8/8/6R1/p7/8 b - - 0 1 +1B2R3/1Q6/1N6/7N/3K4/6R1/p7/8 b - - 0 1 +# pion.ch +8/8/7p/5p2/5P2/4pP1N/4P2P/8 w - - 0 1 +# easy +8/P7/8/k7/P7/8/8/8 w - - 0 1 +8/8/8/4b3/8/1R5R/4P3/8 w - - 0 1 +8/8/p7/8/8/8/7P/8 w - - 0 1 +8/5p2/7p/8/7P/8/5P2/8 w - - 0 1 +8/P7/8/8/8/5k2/8/7b w - - 0 1 +2q5/3k4/8/8/8/5K2/8/8 w - - 0 1 +8/8/8/6b1/1NR5/8/8/8 w - - 0 1 +8/P7/8/8/1nn5/8/8/8 w - - 0 1 +# medium +r7/p4P2/P7/2P4p/3PP3/6b1/6B1/8 w - - 0 1 +8/8/2b5/8/6p1/8/N4P2/4R3 w - - 0 1 +5B2/3p1k1p/5N2/8/8/8/8/8 w - - 0 1 +8/8/7N/4n3/3k4/8/4P2K/8 w - - 0 1 +8/8/8/8/8/3p4/2N5/6N1 w - - 0 1 +6nk/8/8/8/8/7N/8/8 w - - 0 1 +8/8/8/1r1P1r2/8/8/1P3P2/8 w - - 0 1 +8/8/8/8/3p2N1/8/3P4/1R6 w - - 0 1 +# easy draw +B2n4/pP6/1b6/8/8/8/8/8 w - - 0 1 +# medium draw +8/p1pPn3/p7/8/8/8/8/8 w - - 0 1 +8/8/4BN2/8/8/8/8/r7 w - - 0 1