Searched refs:player_loc (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/games/wump/
H A Dwump.c98 static int player_loc = -1; /* player location */ variable
267 player_loc, arrows_left, plural(arrows_left));
277 cave[player_loc].tunnel[0]);
280 if (cave[player_loc].tunnel[i] <= room_num)
281 (void)printf("%d, ", cave[player_loc].tunnel[i]);
282 (void)printf("and %d.\n", cave[player_loc].tunnel[link_num - 1]);
332 cave[player_loc].tunnel[link_num-1] != next_room)
341 cave[player_loc].tunnel[link_num-1] != next_room) {
355 if (cave[player_loc].tunnel[i] == next_room)
363 if (wumpus_loc == player_loc) {
[all...]

Completed in 123 milliseconds