Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
fairymax
fairymax-fix-return.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fairymax-fix-return.patch of Package fairymax
Index: fairymax-5.0b/maxqi.c =================================================================== --- fairymax-5.0b.orig/maxqi.c +++ fairymax-5.0b/maxqi.c @@ -176,6 +176,7 @@ char zn[] = { pboard() {int i; i=-1;W(++i<144)printf(" %c",(i&15)==BW&&(i+=15-BW)?10:n[b[i]&31]); + return NULL; } D(k,q,l,e,z,n) /* recursive minimax search, k=moving side, n=depth*/ @@ -351,6 +352,7 @@ InitEngine() N=8100;W(N-->256)T[N]=rand()>>9; srand(GetTickCount()); + return NULL; } InitGame() @@ -367,6 +369,7 @@ InitGame() Fifty = 0; R = 0; for(i=0; i<BW; i++) if(i!=3) R += (w[oo[i]]/FAC) + (w[oo[i+16]]/FAC); UnderProm = -1; + return NULL; } void CopyBoard(int s)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor