RuolinZheng08 / renpy-chess

A chess GUI built with Ren'Py, python-chess, and Stockfish. Version 2.0 of https://github.com/RuolinZheng08/renpy-chess-engine
https://r3dhummingbird.itch.io/renpy-chess-game
MIT License
74 stars 14 forks source link

Allow saving and resuming a chess game #12

Open devdanzin opened 3 years ago

devdanzin commented 3 years ago

Saving board state (after every move?) and resuming from save state would avoid players losing progress on unexpected exit and crashes, as well as making it easier to stop during a long chess game, rest, and come back to finish later.

I've explored this a bit, but didn't get any positive results. My current hypothesis is that, at the same sites you add to history, it would be able to renpy.save() with something like extra_info='some_name' + self.board.fen.