Re: [aisleriot] rentoy with an stupid AI
- From: Callum McKenzie <callum spooky-possum org>
- To: francisco yuste hispalinux es
- Cc: games-list gnome org
- Subject: Re: [aisleriot] rentoy with an stupid AI
- Date: Tue, 27 Jun 2006 15:02:57 +1200
On Mon, 2006-06-26 at 12:37 +0200, Francisco Yuste García wrote:
> 1. Is there a way to save some of my state variables?
>
Not really. Options are persitently stored as a set of binary flags, but
are probably unsuitable for what you have in mind. Normal scheme I/O
should work so you can write your own file, but that's an "if all else
fails" solution.
> 2. Is the answer to the question 1. was "No, there isn't". Is there a
> way to hide the forward (redo) and backward (undo) arrows?
undo-set-sensitive and redo-set-sensitive should disable them (but not
hide them). Unfortunately end-move will reset them, so you may have to
do some magic like redefining end-move so you can set them back again.
- Callum
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]