Home
last modified time | relevance | path

Searched refs:bestadv (Results 1 – 3 of 3) sorted by relevance

/dports/games/nbsdgames/nbsdgames-4.1.2/
H A Dreversi.c186 double adv,bestadv; in decide() local
187 adv=bestadv=0; in decide()
203 if(adv>bestadv){ in decide()
204 bestadv=adv; in decide()
212 return bestadv; in decide()
H A Dsos.c137 int adv,bestadv; in decide() local
142 oppadv=adv=bestadv=INT_MIN; in decide()
159 if(besty<0 ||adv>bestadv || (adv==bestadv && y==ry && x==rx && c==rc /*c==0*/) ){ in decide()
160 bestadv=adv; in decide()
175 return bestadv; in decide()
H A Dcheckers.c329 double bestadv=0; in decide() local
395 if(besty<0 || adv>bestadv || (adv==bestadv && ( rand()%2 )) ){ in decide()
400 bestadv=adv; in decide()
414 …if(endgame && fj!=1 && s==NORMAL && bestadv==wrstadv ){//the algorithm is not given enough depth t… in decide()
436 return bestadv; in decide()