Home | History | Annotate | Download | only in monop

Lines Matching refs:player

43 struct trd_st {			/* how much to give to other player	*/
81 tradee = getinp("Which player do you wish to trade with? ",
85 if (tradee == player) {
91 tradee = 1 - player;
92 get_list(0, player);
102 * player, and puts in the structure given.
119 printf("player %s (%d):\n", pp->name, pn+1);
185 printf("Player %s (%d) gives:\n", play[tp->trader].name,
213 * This routine does a switch from one player to another
237 * This routine lets a player resign
253 if (new_own == player)
274 if (new_own == player)
276 } while (new_own == player);
285 if (new_own < num_play) { /* resign to player */
286 printf("resigning to player\n");
290 trades[1].trader = player;
310 free(play[player].name);
311 for (i = player; i < num_play; i++) {
318 if (board[i].owner > player)
320 player = player == 0 ? num_play - 1 : player - 1;