HomeSort by: relevance | last modified time | path
    Searched refs:JAIL (Results 1 - 4 of 4) sorted by relevancy

  /src/games/monop/
jail.c 1 /* $NetBSD: jail.c,v 1.10 2012/06/19 05:35:32 dholland Exp $ */
35 static char sccsid[] = "@(#)jail.c 8.1 (Berkeley) 5/31/93";
37 __RCSID("$NetBSD: jail.c,v 1.10 2012/06/19 05:35:32 dholland Exp $");
44 * This routine uses a get-out-of-jail-free card to get the
45 * player out of jail.
50 if (cur_p->loc != JAIL) {
51 printf("But you're not IN Jail\n");
55 printf("But you don't HAVE a get out of jail free card\n");
64 * This routine deals with paying your way out of jail.
69 if (cur_p->loc != JAIL) {
    [all...]
spec.c 81 * move player to jail
86 cur_p->loc = JAIL;
monop.h 62 #define GOTO_J 7 /* Go To Jail! */
64 #define IN_JAIL 9 /* In jail */
66 #define JAIL 40 /* JAIL square number */
118 short num_gojf; /* # of get-out-of-jail-free's */
122 short in_jail; /* count of turns in jail */
171 /* jail.c */
execute.c 104 if (cur_p->loc == JAIL) {
113 printf("That's 3 doubles. You go to jail\n");
626 if (pp->in_jail > 0 && pp->loc != JAIL) {
627 printf("player escaped from jail?\n");

Completed in 39 milliseconds