You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The First Commit fixes 64. It is a general method to follow and isn't browser specific.
The commits that follow add functionality to undo a previously made move.
It works as follows :
A global GTE.TREE.CHANGES array stores the nodes that are changed in a particular move.
I've introduced a "Changes" class to keep track of a particular change.
Whenever the user calls undo, the Changes array is popped and the previous state is restored.
The method followed is different from the ones suggested in #53, though it is partly based on the second suggestion. Rather than the complete state I'm just storing the changes after each move.
Hope it makes sense.
I am one of the GSoC organizers and saw your impressive
quick solution of UNDO and other things (there will be more
details needed but it is a good start). Can you email me
directly to talk about your possible involvement with
Gambit/GTE as a GSoC student if you are interested?
The First Commit fixes 64. It is a general method to follow and isn't browser specific.
The commits that follow add functionality to undo a previously made move.
It works as follows :
A global GTE.TREE.CHANGES array stores the nodes that are changed in a particular move.
I've introduced a "Changes" class to keep track of a particular change.
Whenever the user calls undo, the Changes array is popped and the previous state is restored.
The method followed is different from the ones suggested in #53, though it is partly based on the second suggestion. Rather than the complete state I'm just storing the changes after each move.
Hope it makes sense.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: #66 (comment)
Prof Bernhard von Stengel email: stengel@nash.lse.ac.uk
Department of Mathematics http://www.maths.lse.ac.uk/Personal/stengel
London School of Economics phone: +44-20-7955 6438 (office)
Houghton St, Room COL 4.12 +44-20-7226 2325 (home)
London WC2A 2AE, United Kingdom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.