Happy0 / ssb-chess

A library for building scuttlebutt chess clients with
GNU General Public License v2.0
63 stars 16 forks source link

Support draw by agreement + claim on threefold repetition #60

Open Happy0 opened 6 years ago

Happy0 commented 6 years ago

There should be an 'offer draw' button that offers the opponent a draw that they can then reject (chess_draw_reject) or accept (chess_game_end draw).

In a threefold repetition situation, a 'claim draw' button should appear to allow the player to claim a draw.

Need to think about how this would work at a protocol level. Just putting this issue here as a reminder.