You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment the game rules are checked from chess.js at client-side. For a complete and fair cordapp, this should happen at the smart contract's verify function.
The text was updated successfully, but these errors were encountered:
Note that the check should include:
a) Move is valid
b) original FEN + move = final FEN (to ensure the final FEN is valid)
c) final FEN is a checkmate state.
Similar logic (changing step c) should apply when checking for stalemate: #7
At the moment the game rules are checked from chess.js at client-side. For a complete and fair cordapp, this should happen at the smart contract's verify function.
The text was updated successfully, but these errors were encountered: