Closed pjurczynski closed 12 years ago
I wondering if there might be a way to evaluate move
in a context that doesn't lead to an infinite loop via some magic with instance_eval
Another idea is to use caller
and treat engine requests different from player requests or see if you have called move more than once and exit early.
I have modified my code to mitigate infinite move
calls and opened a pull request.
the move command issued in two different players. I've deleted my code responsible for this - the other is in davidk.rb [davidk01]