From: bob <kr...@ma...> - 2007-04-12 03:37:47
|
Hi, all. Well, I have undo/redo working just today. However, I touched so much of the code that I feel the need to double check a lot. Grid and Command are much different. Also, I left the right-hand drawer in (for displaying the moves made in the future) but disabled the button to open it since it is not being included in the next release. I removed the 'trace' command from the 'Control' menu and added (for us) option+d to dump the undo/redo stacks, option+t which toggles trace and option+1 which sets up a default game and turns on trace. For testing purposes, I needed a game that I had already confirmed the possibles for and could give me a consistent starting point every time. I did not figure that we would document those keystrokes. Just wanted you to know that I am still working on this, but getting closer. I should be able to save to svn early next week. We may have to discuss putting some restrictions on the game or the undo/redo process. For instance, I currently do not handle the situation where a user might turn off the 'view possibilities', do some moves and then turn on the 'view possibilities'. I was thinking that we might want to restrict that to before the first move only. Anyway, it is a complication. You will see what I mean when I produce the code, because an undo now stacks not only the new and prior guesses but also all the possibility additions/deletions. Anyway, it is something to keep in mind and maybe there is a good solution to the problem. Last, I might add that my wife doesn't want all the fancy features. She likes the current version( the one that you have). She says that some of the additions make playing the game too easy. I must admit that the 's' (singleton) move has speeded up dramatically the few games that I have been playing. However, she did agree with the multi-document approach that we might add in the next release. She is very good at game play (freecell, spider solitaire, crossword puzzles, etc)! So, I value her opinion. (She has been playing several games a day and likes the fact that we are displaying the possibilities. She also liked the 'new empty' and lock button for entering a new game.) Bob |