refactor position: now contains board (not board *)

This commit is contained in:
2021-11-12 20:22:20 +01:00
parent bd7d9f8551
commit 451afea6b5
11 changed files with 54 additions and 17 deletions

8
FENTESTS.txt Normal file
View File

@@ -0,0 +1,8 @@
'4k3/4p3/8/b7/1BR1p2p/1Q3P2/5N2/4K3 w - - 0 1'
'r1bq1rk1/pppp1ppp/2n2n2/4p3/2B1P3/3PPN2/PPP3PP/RN1QK2R b KQ - 1 7'
'6k1/6pp/R2p4/p1p5/8/1P1r3P/6P1/6K1 b - - 3 37'
# both can castle queen only
'r3k2r/8/3B4/8/8/3b4/8/R3K2R w KQkq - 0 1'
'r3k2r/8/3BB3/8/8/3bb3/8/R3K2R w KQkq - 0 1'
'r2bkb1r/8/8/8/8/3bb3/8/R2BKB1R w KQkq - 0 1'