Home | History | Annotate | Download | only in gomoku

Lines Matching defs:game

82 struct game game;
118 for (unsigned int m = 0; m < game.nmoves; m++)
119 fprintf(fp, "%s\n", stoc(game.moves[m]));
313 game.nmoves + 1, color == BLACK ? 2 : 9, "",
507 if (game.nmoves > 0) {
508 game.nmoves--;
509 board[game.moves[game.nmoves]].s_occ = EMPTY;
519 board[game.moves[game.nmoves]].s_occ =
520 game.nmoves % 2 == 0 ? BLACK : WHITE;
521 game.nmoves++;
526 for (unsigned int m = 0; m < game.nmoves; m++)
527 debuglog("%s", stoc(game.moves[m]));
532 for (unsigned int m = 0; m < game.nmoves; m++) {
533 fprintf(fp, "%s", stoc(game.moves[m]));
534 if (++m < game.nmoves)
535 fprintf(fp, " %s\n", stoc(game.moves[m]));