Skip to content
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.

EGN on promotion is incorrect #3

Closed
andersfylling opened this issue Oct 14, 2017 · 0 comments
Closed

EGN on promotion is incorrect #3

andersfylling opened this issue Oct 14, 2017 · 0 comments
Labels
Milestone

Comments

@andersfylling
Copy link
Owner

andersfylling commented Oct 14, 2017

Generating EGN for a game state where a promotion takes place results in incorrect behavior:
"rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8"

  +---+---+---+---+---+---+---+---+
8 | r | n | b | q | - | k | - | r | 
  +---+---+---+---+---+---+---+---+
7 | p | p | - | P | b | p | p | p | 
  +---+---+---+---+---+---+---+---+
6 | - | - | p | - | - | - | - | - | 
  +---+---+---+---+---+---+---+---+
5 | - | - | - | - | - | - | - | - | 
  +---+---+---+---+---+---+---+---+
4 | - | - | B | - | - | - | - | - | 
  +---+---+---+---+---+---+---+---+
3 | - | - | - | - | - | - | - | - | 
  +---+---+---+---+---+---+---+---+
2 | P | P | P | - | N | n | P | P | 
  +---+---+---+---+---+---+---+---+
1 | R | N | B | Q | K | - | - | R | 
  +---+---+---+---+---+---+---+---+
    A   B   C   D   E   F   G   H 

the promotion at D7 gets the EGN H1C8.

@andersfylling andersfylling added this to the v1.0.0 milestone Oct 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant