cropleyb / pentai

MIT License
15 stars 1 forks source link

Go back moves in search #6

Open cropleyb opened 10 years ago

cropleyb commented 10 years ago

This is to avoid cloning for every move searched. At the moment, every move tried creates a new ABState and GameState instance (et. al.), which is very wasteful. It would be much better if these were incrementally maintained, sort of like a take back for every level of the search.