ChessCom / Chess-Game

Based on Pear Games_Chess - represents a chess game as a php object
Other
42 stars 20 forks source link

changing how piece keys are handled to allow any number of duplicate pieces #24

Closed jseverson closed 8 years ago

jseverson commented 8 years ago

After creating odds chess, we realized that this library assumes that every piece came from a standard starting position. However, in odds chess, it allows weird starting positions like the following fen:

nnnnknnn/pppppppp/8/8/8/8/PPPPPPPP/R1BQKB1R w KQ -

to handle this, i modified the piece keys to allow any number of duplicate pieces.

marcosdsanchez commented 8 years ago

Thank you @jseverson