shakmaty icon indicating copy to clipboard operation
shakmaty copied to clipboard

resign, offer draw, draw capabilities

Open mehmetsefabalik opened this issue 1 year ago • 2 comments

Hi, https://github.com/jordanbray/chess library has a few functions:

  • https://jordanbray.github.io/chess/chess/struct.Game.html#method.resign
  • https://jordanbray.github.io/chess/chess/struct.Game.html#method.offer_draw

Does this library have such capabilities? I couldn't find such functions, is there a way to achieve it?

mehmetsefabalik avatar Apr 13 '23 09:04 mehmetsefabalik

Hi. This library does not yet have a representation for games (only positions and moves, from which applications have to build their own representation).

niklasf avatar Apr 16 '23 12:04 niklasf

[...] yet [...].

Does this mean you would like there to be one @niklasf? In which case, I would love to implement a Game object similar to jordanbray's library that would offer resign and draw offer abilities.

samyosm avatar Jun 10 '23 23:06 samyosm