timwoelfle / PlainChess

PlainChess aims to be a simple yet full–featured and beautiful alternative to all the cluttered chess portals currently existing. Its primary goal is to allow two persons to play a round of chess, no matter whether they happen to be at the same location or on a different continent. It's designed to be platform independent and to run on every computer or smart phone running a modern web browser and thus enabling people everywhere around the globe to play chess, at home and on the go.

Home Page:http://plainchess.timwoelfle.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: It is possible to put yourself into checkmate

Skeletonxf opened this issue · comments

This should be self explanatory

https://i.imgur.com/d8qbGLe.png

White moved the horse away from shielding the king from the opponent rook and thus put White into check. The game failed to prevent this move being made and did not show the 'check' flashing at any point. Black is unable to actually take the White King with its rook. Black then informs me they did actually move, trying to take the King with their rook and now sees this

http://i.imgur.com/QmUvGEt.png

My (White) view of the board remains the same and I cannot see the update, still seeing it as black's turn even after reloading the page in a new tab.