#include #include "logan.h" u64 r; u64 b; int turn; int hP = -1, lP; int depth; void routine() { char c; int quit=0; int cl,i; if(lP == 0) r = move(lP,r,b,depth); pboard(r,b); while(!quit) { c = fgetc(stdin); if(c == 0xa) continue; if(c == 'q') break; cl=c-48; if(0 <= cl < 8) { u64 e = col(r|b,cl); for(i = 0; i < 8; i++) { if(!(e & (1<