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

/netbsd-current/games/wump/
H A Dwump.c109 static int room_num = ROOMS_IN_CAVE; /* # rooms in cave */ variable
172 room_num = atoi(optarg);
173 if (room_num < MIN_ROOMS_IN_CAVE) {
178 if (room_num > MAX_ROOMS_IN_CAVE) {
198 link_num > room_num - (room_num / 4)) {
205 bat_num += ((random() % (room_num / 2)) + 1);
206 pit_num += ((random() % (room_num / 2)) + 1);
209 if (bat_num > room_num / 2) {
215 if (pit_num > room_num /
[all...]

Completed in 122 milliseconds