Web-Chess icon indicating copy to clipboard operation
Web-Chess copied to clipboard

Illegal movements

Open supermarcos opened this issue 11 years ago • 1 comments

Hi, guys! Your webchess is very impressive, but I found an illegal movement I shouldn't be able to do, look this process:

  1. d2 - d4  c7 - c5
    
  2. d4 x c5 d7 - d5
  3. c5 x d6 e7 - e6
  4. d6 - d7 Ke8 - e7
  5. d7 x c8=Q f7 - f6
  6. Qc8 x d8 Ke7 - f7
  7. Qd8 - d7 Bf8 - e7
  8. Qd7 x e6 Kf7 - e8
  9. Qe6 - d7 Ke8 - f8
  10. Qd7 - c8 Kf8 - f7
  11. Qd1 - d5 Kf7 - g6
  12. Qd5 x b7 Be7 - d6
  13. Qb7 x a8 Nb8 - c6
  14. Qc8 x c6 Bd6 - e5
  15. Qa8 x a7 Kg6 - f5
  16. Qc6 - d7 Kf5 - e4
  17. Qa7 - b7 Ke4 - f5 <<< I think is already chess mate, why the king is able to go here?
  18. Qd7 x f5 Thank you! I hope this helps.

supermarcos avatar Oct 11 '13 01:10 supermarcos

You're right. There are a few bugs here as this is an unfinished project. Thanx for the heads up.

benjaminfisher avatar Oct 16 '13 21:10 benjaminfisher