HomeSort by: relevance | last modified time | path
    Searched refs:s_occ (Results 1 - 6 of 6) sorted by relevancy

  /src/games/gomoku/
makemove.c 108 if (sp->s_occ != EMPTY)
112 sp->s_occ = us;
122 if (fsp->s_occ == BORDER)
133 bool space = fsp->s_occ == EMPTY;
137 if (sp->s_occ == us)
139 else if (sp->s_occ == EMPTY)
148 if (sp->s_occ == EMPTY)
167 if (space && sp->s_occ == EMPTY) {
177 if (sp->s_occ == EMPTY)
209 if (fsp->s_occ == EMPTY)
    [all...]
bdinit.c 135 sp->s_occ = BORDER; /* bottom border and corners */
144 sp->s_occ = EMPTY;
149 sp->s_occ = BORDER; /* combined left and right border */
154 sp->s_occ = BORDER; /* top border and top-right corner */
245 if (spb0->s_occ == BORDER)
bdisp.c 176 if (debug > 1 && sp->s_occ == EMPTY) {
184 c = pcolor[sp->s_occ];
216 if (debug > 1 && sp->s_occ == EMPTY) {
224 c = pcolor[sp->s_occ];
gomoku.h 60 /* The content of a spot on the board; used in s_occ. */
214 short s_occ; /* color of occupant */ member in struct:spotstr
pickmove.c 126 if (sp->s_occ != EMPTY)
236 if (sp->s_occ != EMPTY)
310 if (sp->s_occ != EMPTY)
460 if (fsp->s_occ == BORDER)
617 if (fsp->s_occ == EMPTY) {
633 if (sp->s_occ != EMPTY)
690 if (sp->s_occ != EMPTY) {
921 if (sp->s_occ != EMPTY || (emask & m) == 0)
998 if (sp->s_occ != EMPTY)
1023 if (sp->s_occ != EMPTY
    [all...]
main.c 236 if (s != RESIGN && board[s].s_occ != EMPTY) {
509 board[game.moves[game.nmoves]].s_occ = EMPTY;
519 board[game.moves[game.nmoves]].s_occ =

Completed in 16 milliseconds