brainix / gray-matter

Automatically exported from code.google.com/p/gray-matter
0 stars 0 forks source link

Race Condition with Move Now #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
On Gray Matter's thinking time, before Gray Matter has even completed a search 
of depth 1, issue 
the move now command.

What is the expected output? What do you see instead?
Gray Matter should at least complete the search of depth 1 and make a move.  
Instead, it doesn't 
even make a move.

Original issue reported on code.google.com by brainix on 1 May 2007 at 10:41

GoogleCodeExporter commented 9 years ago
If you run into this problem while playing against Gray Matter, simply take 
back and re-make your last move.  
This is kind of an ugly non-solution, but it kicks Gray Matter back into 
thinking mode again.  To fix this properly 
in the code would require further ugliness, and I think it's rare enough so as 
to be a non-issue.

Original comment by brainix on 26 May 2007 at 7:51

GoogleCodeExporter commented 9 years ago
Out of sheer boredom, I've implemented the further ugliness required to fix 
this properly.  ;-)

Original comment by brainix on 27 May 2007 at 11:42