Continuing a saved and loaded game
Posted: 18 Jun 2009, 22:10
I downloaded Winboard source some time ago, modified it to my needs then (I ripped off many parts...).
Now I decided to bring back some functionality again, namely loading and saving games.
I dont know, how loading and saving is actually meant, but what I would like to have is:
Save an ongoing game, load it later and simply continue playing.
The problem I encountered is that I can not continue the game, as obviously the moves are made on the board, but not in the engine.
I figured out that I might tell the engine a certain position by "position moves ...", but after this the engine immediately starts thinking.
This should not be the case (at least not, if its my turn to move).
Any ideas how to achieve (programmatically) what I like?
ueberdu.
Now I decided to bring back some functionality again, namely loading and saving games.
I dont know, how loading and saving is actually meant, but what I would like to have is:
Save an ongoing game, load it later and simply continue playing.
The problem I encountered is that I can not continue the game, as obviously the moves are made on the board, but not in the engine.
I figured out that I might tell the engine a certain position by "position moves ...", but after this the engine immediately starts thinking.
This should not be the case (at least not, if its my turn to move).
Any ideas how to achieve (programmatically) what I like?
ueberdu.