niklasf / shakmaty

A Rust library for chess and chess variant rules and operations
https://docs.rs/shakmaty
GNU General Public License v3.0
217 stars 43 forks source link

resign, offer draw, draw capabilities #66

Open mehmetsefabalik opened 1 year ago

mehmetsefabalik commented 1 year ago

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

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

niklasf commented 1 year ago

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

samyosm commented 1 year ago

[...] 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.