OK, I don't know the Dvonn game but from the description of what you're trying to accomplish, the only solution that would make sense to me is:
- Make a list of all Starting-Cell+Direction combinations. - Pick a random item from this list. - When not legal, pick again from the list minus the illegal move. Are there performance reasons that made you try anything different? Just my $0.02 Mark _______________________________________________ Computer-go mailing list [email protected] http://dvandva.org/cgi-bin/mailman/listinfo/computer-go
