How about:
1. When B, W both pass, all blocks are assumed alive and we are done.
simple is beautiful:)
Is it beautiful enough that you finish your games that way?
Personally, I like John's simple but elegant solution, but it's kind
of ugly for impatient human onlookers and especially for humans who
play bots.
When I put my player out on the server for games against humans, I
want to accomodate them as much as I can. I don't want to impose too
much on their time to finish a game that even my bot knows is over.
When I figure out how to make my bot pass earlier, it will be a
beautiful thing to me. :-)
- Don
Date: Thu, 09 Jun 2005 17:50:27 +0200
From: John Tromp <John.Tromp@xxxxxxxxxxxxxxxxx>
Chris Fant wrote:
Too much logic in the server.
Since everyone else is taking a stab at this, here is mine:
1. When B, W both pass, request final_status_list
2. If the results are same, we are done
3. If not, start requesting gen_move_cleanup (if it is not
implemented, assume a pass move)
4. After two more passes, all blocks are assumed alive.
How about:
1. When B, W both pass, all blocks are assumed alive and we are
done.
simple is beautiful:)
-john