Skip to content

Commit

Permalink
Merge branch 'release/4.89'
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Maeder committed Aug 21, 2023
2 parents a84d30f + 7fb927a commit efce02b
Show file tree
Hide file tree
Showing 121 changed files with 4,897 additions and 7,107 deletions.
3 changes: 2 additions & 1 deletion EXAMPLES/andmoose.inp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
beg
prot andmoose.ref
stip h#3
opt nowk
auth Stephen Emmerson
Expand All @@ -7,4 +8,4 @@ tit N.B. minor dual in (b)
pie blac ke8
pie blac hur gd8 ma8 eaf8 swg8
twin move a8 h8
end
end
22 changes: 22 additions & 0 deletions EXAMPLES/breton.inp
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,27 @@ stipulation #2
condition breton
option vari

next

author Bruno Stucker & Thomas Maeder
origin 9486 Ph\'enix 11/2022
remark no solution in Breton
Stipulation h#2
Condition breton py
Pieces
white Pe2 Kh1 Sb1 Bd1 Ra5f4
black Qh6 Rc3 Bb2 Pc2 Kc1 Sh2

next

author Thomas Maeder
origin 1729 Julia's Fairies 2023
Stipulation h#2
Condition breton py
Pieces
white Pb7e7 Sf6 Ke3 Bg2 Qb8
black Rg8 Qh8 Kc4 Pe6 Bd8 Sf8
Twin Add white Rb8

end

7 changes: 7 additions & 0 deletions EXAMPLES/contrahamsters.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
beginproblem
protocol contrahamsters.ref
auth S.Emmerson (after C.Tylor)
orig Unpublished
stipulation h#2
forsyth 8/8/8/8/8/8/P.HC4.hcp/5K1k/
endproblem
13 changes: 13 additions & 0 deletions EXAMPLES/darkside.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
begin

protocol darkside.ref

author Ofer Comay, Paz Einat, Menachem Witztum
origin Trofeul e4-e5 section C 2020, 1st place
forsyth 2b5/5p1p/1q4ks/1r1s3r/8/4B3/1Q6/2K5
condition darkside
stipulation h#2
twin move h6 f6

end

1 change: 1 addition & 0 deletions EXAMPLES/extragrid.inp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
beg
prot extragrid.ref
latex extragrid.tex
latexpieces
k K king
Expand Down
4 changes: 3 additions & 1 deletion EXAMPLES/kao.inp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
beg

prot kao.ref

auth S. Emmerson
orig Unpublished
title KnightHopper = short NH
Expand All @@ -18,4 +20,4 @@ opt var set
pie wh kb3 bc2 kog2 pc4
blac ka1 pb4c5d4

end
end
13 changes: 13 additions & 0 deletions EXAMPLES/lengthy/pseries_lengthy.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
begin

protocol pseries_lengthy.ref

author Dan Meinking & George Sphicas
origin StrateGems 47, 2009, no. 4
pieces white kb7 sc3 pe2
black kf1 pg7
stipulation pser-h#14
option intelligent

end

9 changes: 0 additions & 9 deletions EXAMPLES/lengthy/pseries.inp → EXAMPLES/pseries.inp
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@ twin add white bd1

next

author Dan Meinking & George Sphicas
origin StrateGems 47, 2009, no. 4
pieces white kb7 sc3 pe2
black kf1 pg7
stipulation pser-h#14
option intelligent

next

author Dan Meinking
origin StrateGems 47, 2009, no. 5
pieces white kg1 qe1 ba6
Expand Down
20 changes: 20 additions & 0 deletions EXAMPLES/series_capture.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
begin

protocol series_capture.ref

author Tadashi Wakashima
origin Sake Tourney 2023 example
pieces white kd4 rg2 sg4 black kf3 bh1h2 pe3g3
stipulation h#2
condition seriescapture

next

author Tadashi Wakashima
origin Sake Tourney 2023 example
pieces white kc7 rf1 pe2 black ke8 qb4 be7h3 sc6f6 pg5
stipulation h#2
condition seriescapture

end

43 changes: 40 additions & 3 deletions REGRESSIONS/4_87_to_4_89.inp
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ pieces white ba1 black sb2 neutral sh6
stipulation x1
condition breton
option nowk nobk
twin condition breton Popeye
twin condition breton py

next

title capturing pawn's fate is determined before promotion in the original Breton definition
pieces white pb7 black sa8 pc8
stipulation x1
condition breton popeye
condition breton py
option nowk nobk
twin condition breton

Expand Down Expand Up @@ -53,5 +53,42 @@ pieces white ka1 black kg8 sh8
stip hr#2.5
option movenumbers

end
next

title combination of Geneva and Phantom had a bug in check detection
origin Github Issue #354
Stipulation +1
Condition GenevaChess PhantomChess
Pieces
white Pb6 Kc8
black Pa7 Ka8
twin stipulation =1

next

title another test case
Stipulation +1
Condition GenevaChess PhantomChess
Pieces
white Kc8 Qb1
black Pa7 Ka8
twin stipulation =1

next

title Popeye didn't revolve the en passant information while revolving the board, resulting in an attempt of the pawn to capture itself en passant
Stipulation hep1
Option nowk nobk MoveNumbers
Condition ActuatedRevolvingBoard
Pieces neutral Pd7

next

author Bj\"orn Enemark
stipulation S=2
pieces white Qg6 black Kc7
option vari nowk
twin stipulation pser-s=2

End

14 changes: 7 additions & 7 deletions REGRESSIONTESTS/4_55_to_4_57.reg
Original file line number Diff line number Diff line change
Expand Up @@ -1140,10 +1140,10 @@ solution finished.
1...d3-d2 #

1.Sh2-f3 2.Sf3-h2 d3-d2 #
add_to_move_generation_stack: 255
play_move: 197
is_white_king_square_attacked: 196
is_black_king_square_attacked: 81
add_to_move_generation_stack: 260
play_move: 202
is_white_king_square_attacked: 206
is_black_king_square_attacked: 82

solution finished.

Expand Down Expand Up @@ -1212,7 +1212,7 @@ solution finished.
1.g6-g5 2.g5-g4 d6-d7 #
add_to_move_generation_stack: 75
play_move: 68
is_white_king_square_attacked: 13
is_white_king_square_attacked: 14
is_black_king_square_attacked: 69

solution finished.
Expand Down Expand Up @@ -1248,7 +1248,7 @@ solution finished.
add_to_move_generation_stack: 87
play_move: 69
is_white_king_square_attacked: 70
is_black_king_square_attacked: 15
is_black_king_square_attacked: 16

solution finished.

Expand Down Expand Up @@ -1283,7 +1283,7 @@ solution finished.
add_to_move_generation_stack: 326
play_move: 254
is_white_king_square_attacked: 239
is_black_king_square_attacked: 116
is_black_king_square_attacked: 118

solution finished.

Expand Down
Loading

0 comments on commit efce02b

Please sign in to comment.