HomeSort by: relevance | last modified time | path
    Searched defs:player_loc (Results 1 - 2 of 2) sorted by relevancy

  /src/games/wump/
wump.c 98 static int player_loc = -1; /* player location */ variable in typeref:typename:int
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...]
wump.c 98 static int player_loc = -1; /* player location */ variable in typeref:typename:int
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 76 milliseconds