Transformation Rules Applied to File:MonopH.java

Showing full text of file after each rule

Rules AppliedJavaKeywordRule app0.txt PPspaceRule PPRule PPdefineRule.DefineReplacementRule Typedef0Rule StructRule TypedefRule MissingReturnRule UnknownTypeRule StaticVariablesRule StaticFunctionsRule DeclarationAssignmentRule PointerRule snippets2.txt snippets3.txt PrintfRule InsertClassRule (Final Version)
JavaKeywordRule
app0.txt
PPspaceRule
PPRule
PPdefineRule.DefineReplacementRule
Typedef0Rule
StructRule
TypedefRule
MissingReturnRule
UnknownTypeRule
StaticVariablesRule
StaticFunctionsRule
DeclarationAssignmentRule
PointerRule
snippets2.txt
snippets3.txt
PrintfRule
InsertClassRule
final
# include	
# define	reg	register
# define	shrt	char
# define	bool	char
# define	unsgn	unsigned
# define	TRUE	(1)
# define	FALSE	(0)
# define	N_MON	8	/* number of monopolies			*/
# define	N_PROP	22	/* number of normal property squares	*/
# define	N_RR	4	/* number of railroads			*/
# define	N_UTIL	2	/* number of utilities			*/
# define	N_SQRS	40	/* number of squares on board		*/
# define	MAX_PL	9	/* maximum number of players		*/
# define	MAX_PRP	(N_PROP+N_RR+N_UTIL) /* max # ownable property	*/
# define	PRPTY	0	/* normal property			*/
# define	RR	1	/* railroad				*/
# define	UTIL	2	/* water works - electric co		*/
# define	SAFE	3	/* safe spot				*/
# define	CC	4	/* community chest			*/
# define	CHANCE	5	/* chance (surprise!!!)			*/
# define	INC_TAX	6	/* Income tax */
# define	GOTO_J	7	/* Go To Jail! */
# define	LUX_TAX	8	/* Luxury tax */
# define	IN_JAIL	9	/* In jail */
# define	JAIL	40	/* JAIL square number			*/
# define	lucky(str)	printf("%s%s\n",str,lucky_mes[roll(1,num_luck)-1])
# define	printline()	printf("------------------------------\n")
# define	sqnum(sqp)	(sqp - board)
# define	swap(A1,A2)	if ((A1) != (A2)) { 					(A1) ^= (A2); 					(A2) ^= (A1); 					(A1) ^= (A2); 				}
struct sqr_st {
    char * name;
    shrt owner;
    shrt type;
    struct prp_st * desc;
    int cost;
}
;
typedef struct sqr_st SQUARE;
struct mon_st {
    char * name;
    shrt owner;
    shrt num_in;
    shrt num_own;
    shrt h_cost;
    char * not_m;
    char * mon_n;
    char sqnums[3];
    SQUARE * sq[3];
}
;
typedef struct mon_st MON;
struct prp_st {
    bool morg;
    bool monop;
    shrt square;
    shrt houses;
    MON * mon_desc;
    int rent[6];
}
;
struct own_st {
    SQUARE * sqr;
    struct own_st * next;
}
;
typedef struct own_st OWN;
struct plr_st {
    char * name;
    shrt num_gojf;
    shrt num_rr;
    shrt num_util;
    shrt loc;
    shrt in_jail;
    int money;
    OWN * own_list;
}
;
typedef struct plr_st PLAY;
typedef struct prp_st PROP;
typedef struct prp_st RR_S;
typedef struct prp_st UTIL_S;
# include	
# define	reg	register
# define	shrt	char
# define	bool	char
# define	unsgn	unsigned
# define	TRUE	(1)
# define	FALSE	(0)
# define	N_MON	8	/* number of monopolies			*/
# define	N_PROP	22	/* number of normal property squares	*/
# define	N_RR	4	/* number of railroads			*/
# define	N_UTIL	2	/* number of utilities			*/
# define	N_SQRS	40	/* number of squares on board		*/
# define	MAX_PL	9	/* maximum number of players		*/
# define	MAX_PRP	(N_PROP+N_RR+N_UTIL) /* max # ownable property	*/
# define	PRPTY	0	/* normal property			*/
# define	RR	1	/* railroad				*/
# define	UTIL	2	/* water works - electric co		*/
# define	SAFE	3	/* safe spot				*/
# define	CC	4	/* community chest			*/
# define	CHANCE	5	/* chance (surprise!!!)			*/
# define	INC_TAX	6	/* Income tax */
# define	GOTO_J	7	/* Go To Jail! */
# define	LUX_TAX	8	/* Luxury tax */
# define	IN_JAIL	9	/* In jail */
# define	JAIL	40	/* JAIL square number			*/
# define	lucky(str)	printf("%s%s\n",str,lucky_mes[roll(1,num_luck)-1])
# define	printline()	printf("------------------------------\n")
# define	sqnum(sqp)	(sqp - board)
# define	swap(A1,A2)	if ((A1) != (A2)) { 					(A1) ^= (A2); 					(A2) ^= (A1); 					(A1) ^= (A2); 				}
struct Square {
    char * name;
    shrt owner;
    shrt type;
    struct Property * description;
    int cost;
}
;
typedef struct Square SQUARE;
struct Monopoly {
    char * name;
    shrt owner;
    shrt housesInMonopoly;
    shrt numberOfOwners;
    shrt houseCost;
    char * lowercaseColor;
    char * uppercaseColor;
    char squareNumbers[3];
    SQUARE * squares[3];
}
;
typedef struct Monopoly MON;
struct Property {
    bool isMortgaged;
    bool isMonopoly;
    shrt square;
    shrt houseCount;
    MON * monopolyDescription;
    int rent[6];
}
;
struct OwnedPropertyList {
    SQUARE * square1;
    struct OwnedPropertyList * next;
}
;
typedef struct OwnedPropertyList OWN;
struct Player {
    char * name;
    shrt getOutOfJailFreeCardCount;
    shrt railroadCardCount;
    shrt utilitiesCount;
    shrt location;
    shrt jailRollCount;
    int money;
    OWN * ownedPropertyList;
}
;
typedef struct Player PLAY;
typedef struct Property PROP;
typedef struct Property RR_S;
typedef struct Property UTIL_S;
#include	
#define	reg	register
#define	shrt	char
#define	bool	char
#define	unsgn	unsigned
#define	TRUE	(1)
#define	FALSE	(0)
#define	N_MON	8	/* number of monopolies			*/
#define	N_PROP	22	/* number of normal property squares	*/
#define	N_RR	4	/* number of railroads			*/
#define	N_UTIL	2	/* number of utilities			*/
#define	N_SQRS	40	/* number of squares on board		*/
#define	MAX_PL	9	/* maximum number of players		*/
#define	MAX_PRP	(N_PROP+N_RR+N_UTIL) /* max # ownable property	*/
#define	PRPTY	0	/* normal property			*/
#define	RR	1	/* railroad				*/
#define	UTIL	2	/* water works - electric co		*/
#define	SAFE	3	/* safe spot				*/
#define	CC	4	/* community chest			*/
#define	CHANCE	5	/* chance (surprise!!!)			*/
#define	INC_TAX	6	/* Income tax */
#define	GOTO_J	7	/* Go To Jail! */
#define	LUX_TAX	8	/* Luxury tax */
#define	IN_JAIL	9	/* In jail */
#define	JAIL	40	/* JAIL square number			*/
#define	lucky(str)	printf("%s%s\n",str,lucky_mes[roll(1,num_luck)-1])
#define	printline()	printf("------------------------------\n")
#define	sqnum(sqp)	(sqp - board)
#define	swap(A1,A2)	if ((A1) != (A2)) { 					(A1) ^= (A2); 					(A2) ^= (A1); 					(A1) ^= (A2); 				}
struct Square {
    char * name;
    shrt owner;
    shrt type;
    struct Property * description;
    int cost;
}
;
typedef struct Square SQUARE;
struct Monopoly {
    char * name;
    shrt owner;
    shrt housesInMonopoly;
    shrt numberOfOwners;
    shrt houseCost;
    char * lowercaseColor;
    char * uppercaseColor;
    char squareNumbers[3];
    SQUARE * squares[3];
}
;
typedef struct Monopoly MON;
struct Property {
    bool isMortgaged;
    bool isMonopoly;
    shrt square;
    shrt houseCount;
    MON * monopolyDescription;
    int rent[6];
}
;
struct OwnedPropertyList {
    SQUARE * square1;
    struct OwnedPropertyList * next;
}
;
typedef struct OwnedPropertyList OWN;
struct Player {
    char * name;
    shrt getOutOfJailFreeCardCount;
    shrt railroadCardCount;
    shrt utilitiesCount;
    shrt location;
    shrt jailRollCount;
    int money;
    OWN * ownedPropertyList;
}
;
typedef struct Player PLAY;
typedef struct Property PROP;
typedef struct Property RR_S;
typedef struct Property UTIL_S;
public static UNKNOWN_TYPE swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    };
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    (sqp - board);
}
public static int printline() {
    printf("------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    printf("%s%s\n", str, lucky_mes[roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    (N_PROP + N_RR + N_UTIL);
}
public final static int N_MON = 8;
public final static int N_PROP = 22;
public final static int N_RR = 4;
public final static int N_UTIL = 2;
public final static int N_SQRS = 40;
public final static int MAX_PL = 9;
public final static int PRPTY = 0;
public final static int RR = 1;
public final static int UTIL = 2;
public final static int SAFE = 3;
public final static int CC = 4;
public final static int CHANCE = 5;
public final static int INC_TAX = 6;
public final static int GOTO_J = 7;
public final static int LUX_TAX = 8;
public final static int IN_JAIL = 9;
public final static int JAIL = 40;
struct Square {
    char * name;
    shrt owner;
    shrt type;
    struct Property * description;
    int cost;
}
;
typedef struct Square SQUARE;
struct Monopoly {
    char * name;
    shrt owner;
    shrt housesInMonopoly;
    shrt numberOfOwners;
    shrt houseCost;
    char * lowercaseColor;
    char * uppercaseColor;
    char squareNumbers[3];
    SQUARE * squares[3];
}
;
typedef struct Monopoly MON;
struct Property {
    bool isMortgaged;
    bool isMonopoly;
    shrt square;
    shrt houseCount;
    MON * monopolyDescription;
    int rent[6];
}
;
struct OwnedPropertyList {
    SQUARE * square1;
    struct OwnedPropertyList * next;
}
;
typedef struct OwnedPropertyList OWN;
struct Player {
    char * name;
    shrt getOutOfJailFreeCardCount;
    shrt railroadCardCount;
    shrt utilitiesCount;
    shrt location;
    shrt jailRollCount;
    int money;
    OWN * ownedPropertyList;
}
;
typedef struct Player PLAY;
typedef struct Property PROP;
typedef struct Property RR_S;
typedef struct Property UTIL_S;
public static UNKNOWN_TYPE swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    };
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    (sqp - board);
}
public static int printline() {
    printf("------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    printf("%s%s\n", str, lucky_mes[roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    (N_PROP + N_RR + N_UTIL);
}
public final static int N_MON = 8;
public final static int N_PROP = 22;
public final static int N_RR = 4;
public final static int N_UTIL = 2;
public final static int N_SQRS = 40;
public final static int MAX_PL = 9;
public final static int PRPTY = 0;
public final static int RR = 1;
public final static int UTIL = 2;
public final static int SAFE = 3;
public final static int CC = 4;
public final static int CHANCE = 5;
public final static int INC_TAX = 6;
public final static int GOTO_J = 7;
public final static int LUX_TAX = 8;
public final static int IN_JAIL = 9;
public final static int JAIL = 40;
struct Square {
    char * name;
    char owner;
    char type;
    struct Property * description;
    int cost;
}
;
typedef struct Square SQUARE;
struct Monopoly {
    char * name;
    char owner;
    char housesInMonopoly;
    char numberOfOwners;
    char houseCost;
    char * lowercaseColor;
    char * uppercaseColor;
    char squareNumbers[3];
    SQUARE * squares[3];
}
;
typedef struct Monopoly MON;
struct Property {
    boolean isMortgaged;
    boolean isMonopoly;
    char square;
    char houseCount;
    MON * monopolyDescription;
    int rent[6];
}
;
struct OwnedPropertyList {
    SQUARE * square1;
    struct OwnedPropertyList * next;
}
;
typedef struct OwnedPropertyList OWN;
struct Player {
    char * name;
    char getOutOfJailFreeCardCount;
    char railroadCardCount;
    char utilitiesCount;
    char location;
    char jailRollCount;
    int money;
    OWN * ownedPropertyList;
}
;
typedef struct Player PLAY;
typedef struct Property PROP;
typedef struct Property RR_S;
typedef struct Property UTIL_S;
public static UNKNOWN_TYPE swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    };
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    (sqp - board);
}
public static int printline() {
    printf("------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    printf("%s%s\n", str, lucky_mes[roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    (N_PROP + N_RR + N_UTIL);
}
public final static int N_MON = 8;
public final static int N_PROP = 22;
public final static int N_RR = 4;
public final static int N_UTIL = 2;
public final static int N_SQRS = 40;
public final static int MAX_PL = 9;
public final static int PRPTY = 0;
public final static int RR = 1;
public final static int UTIL = 2;
public final static int SAFE = 3;
public final static int CC = 4;
public final static int CHANCE = 5;
public final static int INC_TAX = 6;
public final static int GOTO_J = 7;
public final static int LUX_TAX = 8;
public final static int IN_JAIL = 9;
public final static int JAIL = 40;
struct Square {
    char * name;
    char owner;
    char type;
    struct Property * description;
    int cost;
}
;
typedef Square SQUARE;
struct Monopoly {
    char * name;
    char owner;
    char housesInMonopoly;
    char numberOfOwners;
    char houseCost;
    char * lowercaseColor;
    char * uppercaseColor;
    char squareNumbers[3];
    SQUARE * squares[3];
}
;
typedef Monopoly MON;
struct Property {
    boolean isMortgaged;
    boolean isMonopoly;
    char square;
    char houseCount;
    MON * monopolyDescription;
    int rent[6];
}
;
struct OwnedPropertyList {
    SQUARE * square1;
    struct OwnedPropertyList * next;
}
;
typedef OwnedPropertyList OWN;
struct Player {
    char * name;
    char getOutOfJailFreeCardCount;
    char railroadCardCount;
    char utilitiesCount;
    char location;
    char jailRollCount;
    int money;
    OWN * ownedPropertyList;
}
;
typedef Player PLAY;
typedef Property PROP;
typedef Property RR_S;
typedef Property UTIL_S;
public static UNKNOWN_TYPE swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    };
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    (sqp - board);
}
public static int printline() {
    printf("------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    printf("%s%s\n", str, lucky_mes[roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    (N_PROP + N_RR + N_UTIL);
}
public final static int N_MON = 8;
public final static int N_PROP = 22;
public final static int N_RR = 4;
public final static int N_UTIL = 2;
public final static int N_SQRS = 40;
public final static int MAX_PL = 9;
public final static int PRPTY = 0;
public final static int RR = 1;
public final static int UTIL = 2;
public final static int SAFE = 3;
public final static int CC = 4;
public final static int CHANCE = 5;
public final static int INC_TAX = 6;
public final static int GOTO_J = 7;
public final static int LUX_TAX = 8;
public final static int IN_JAIL = 9;
public final static int JAIL = 40;
typedef Square SQUARE;
typedef Monopoly MON;
typedef OwnedPropertyList OWN;
typedef Player PLAY;
typedef Property PROP;
typedef Property RR_S;
typedef Property UTIL_S;
public static UNKNOWN_TYPE swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    };
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    (sqp - board);
}
public static int printline() {
    printf("------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    printf("%s%s\n", str, lucky_mes[roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    (N_PROP + N_RR + N_UTIL);
}
public final static int N_MON = 8;
public final static int N_PROP = 22;
public final static int N_RR = 4;
public final static int N_UTIL = 2;
public final static int N_SQRS = 40;
public final static int MAX_PL = 9;
public final static int PRPTY = 0;
public final static int RR = 1;
public final static int UTIL = 2;
public final static int SAFE = 3;
public final static int CC = 4;
public final static int CHANCE = 5;
public final static int INC_TAX = 6;
public final static int GOTO_J = 7;
public final static int LUX_TAX = 8;
public final static int IN_JAIL = 9;
public final static int JAIL = 40;
public static UNKNOWN_TYPE swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    }
    return;
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    return (sqp - board);
}
public static int printline() {
    return printf("------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    return printf("%s%s\n", str, lucky_mes[roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    return (N_PROP + N_RR + N_UTIL);
}
public final static int N_MON = 8;
public final static int N_PROP = 22;
public final static int N_RR = 4;
public final static int N_UTIL = 2;
public final static int N_SQRS = 40;
public final static int MAX_PL = 9;
public final static int PRPTY = 0;
public final static int RR = 1;
public final static int UTIL = 2;
public final static int SAFE = 3;
public final static int CC = 4;
public final static int CHANCE = 5;
public final static int INC_TAX = 6;
public final static int GOTO_J = 7;
public final static int LUX_TAX = 8;
public final static int IN_JAIL = 9;
public final static int JAIL = 40;
public static void swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    }
    return;
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    return (sqp - board);
}
public static int printline() {
    return printf("------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    return printf("%s%s\n", str, lucky_mes[roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    return (N_PROP + N_RR + N_UTIL);
}
public final static int N_MON = 8;
public final static int N_PROP = 22;
public final static int N_RR = 4;
public final static int N_UTIL = 2;
public final static int N_SQRS = 40;
public final static int MAX_PL = 9;
public final static int PRPTY = 0;
public final static int RR = 1;
public final static int UTIL = 2;
public final static int SAFE = 3;
public final static int CC = 4;
public final static int CHANCE = 5;
public final static int INC_TAX = 6;
public final static int GOTO_J = 7;
public final static int LUX_TAX = 8;
public final static int IN_JAIL = 9;
public final static int JAIL = 40;
public static void swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    }
    return;
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    return (sqp - Monop.board);
}
public static int printline() {
    return printf("------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    return printf("%s%s\n", str, lucky_mes[roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    return (MonopH.N_PROP + MonopH.N_RR + MonopH.N_UTIL);
}
public final static int N_MON = 8;
public final static int N_PROP = 22;
public final static int N_RR = 4;
public final static int N_UTIL = 2;
public final static int N_SQRS = 40;
public final static int MAX_PL = 9;
public final static int PRPTY = 0;
public final static int RR = 1;
public final static int UTIL = 2;
public final static int SAFE = 3;
public final static int CC = 4;
public final static int CHANCE = 5;
public final static int INC_TAX = 6;
public final static int GOTO_J = 7;
public final static int LUX_TAX = 8;
public final static int IN_JAIL = 9;
public final static int JAIL = 40;
public static void swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    }
    return;
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    return (sqp - Monop.board);
}
public static int printline() {
    return printf("------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    return printf("%s%s\n", str, lucky_mes[Roll.roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    return (MonopH.N_PROP + MonopH.N_RR + MonopH.N_UTIL);
}
public final static int N_MON = 8;
public final static int N_PROP = 22;
public final static int N_RR = 4;
public final static int N_UTIL = 2;
public final static int N_SQRS = 40;
public final static int MAX_PL = 9;
public final static int PRPTY = 0;
public final static int RR = 1;
public final static int UTIL = 2;
public final static int SAFE = 3;
public final static int CC = 4;
public final static int CHANCE = 5;
public final static int INC_TAX = 6;
public final static int GOTO_J = 7;
public final static int LUX_TAX = 8;
public final static int IN_JAIL = 9;
public final static int JAIL = 40;
public static void swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    }
    return;
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    return (sqp - Monop.board);
}
public static int printline() {
    return printf("------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    return printf("%s%s\n", str, lucky_mes[Roll.roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    return (MonopH.N_PROP + MonopH.N_RR + MonopH.N_UTIL);
}
public final static int N_MON;
N_MON = 8;
public final static int N_PROP;
N_PROP = 22;
public final static int N_RR;
N_RR = 4;
public final static int N_UTIL;
N_UTIL = 2;
public final static int N_SQRS;
N_SQRS = 40;
public final static int MAX_PL;
MAX_PL = 9;
public final static int PRPTY;
PRPTY = 0;
public final static int RR;
RR = 1;
public final static int UTIL;
UTIL = 2;
public final static int SAFE;
SAFE = 3;
public final static int CC;
CC = 4;
public final static int CHANCE;
CHANCE = 5;
public final static int INC_TAX;
INC_TAX = 6;
public final static int GOTO_J;
GOTO_J = 7;
public final static int LUX_TAX;
LUX_TAX = 8;
public final static int IN_JAIL;
IN_JAIL = 9;
public final static int JAIL;
JAIL = 40;
public static void swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    }
    return;
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    return (ArrayUtils.indexOf(Monop.board, sqp));
}
public static int printline() {
    return printf("------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    return printf("%s%s\n", str, lucky_mes[Roll.roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    return (MonopH.N_PROP + MonopH.N_RR + MonopH.N_UTIL);
}
public final static int N_MON;
N_MON = 8;
public final static int N_PROP;
N_PROP = 22;
public final static int N_RR;
N_RR = 4;
public final static int N_UTIL;
N_UTIL = 2;
public final static int N_SQRS;
N_SQRS = 40;
public final static int MAX_PL;
MAX_PL = 9;
public final static int PRPTY;
PRPTY = 0;
public final static int RR;
RR = 1;
public final static int UTIL;
UTIL = 2;
public final static int SAFE;
SAFE = 3;
public final static int CC;
CC = 4;
public final static int CHANCE;
CHANCE = 5;
public final static int INC_TAX;
INC_TAX = 6;
public final static int GOTO_J;
GOTO_J = 7;
public final static int LUX_TAX;
LUX_TAX = 8;
public final static int IN_JAIL;
IN_JAIL = 9;
public final static int JAIL;
JAIL = 40;
public static void swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    }
    return;
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    return (ArrayUtils.indexOf(Monop.board, sqp));
}
public static int printline() {
    return fprintf(stdout, "------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    return fprintf(stdout, "%s%s\n", str, lucky_mes[Roll.roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    return (MonopH.N_PROP + MonopH.N_RR + MonopH.N_UTIL);
}
public final static int N_MON;
N_MON = 8;
public final static int N_PROP;
N_PROP = 22;
public final static int N_RR;
N_RR = 4;
public final static int N_UTIL;
N_UTIL = 2;
public final static int N_SQRS;
N_SQRS = 40;
public final static int MAX_PL;
MAX_PL = 9;
public final static int PRPTY;
PRPTY = 0;
public final static int RR;
RR = 1;
public final static int UTIL;
UTIL = 2;
public final static int SAFE;
SAFE = 3;
public final static int CC;
CC = 4;
public final static int CHANCE;
CHANCE = 5;
public final static int INC_TAX;
INC_TAX = 6;
public final static int GOTO_J;
GOTO_J = 7;
public final static int LUX_TAX;
LUX_TAX = 8;
public final static int IN_JAIL;
IN_JAIL = 9;
public final static int JAIL;
JAIL = 40;
public static void swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    }
    return;
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    return (ArrayUtils.indexOf(Monop.board, sqp));
}
public static int printline() {
    return fprintf(stdout, "------------------------------\n");
}
public static int lucky(UNKNOWN_TYPE str) {
    return fprintf(stdout, "%s%s\n", str, lucky_mes[Roll.roll(1, num_luck) - 1]);
}
public static int MAX_PRP() {
    return (MonopH.N_PROP + MonopH.N_RR + MonopH.N_UTIL);
}
public final static int N_MON = 8;
public final static int N_PROP = 22;
public final static int N_RR = 4;
public final static int N_UTIL = 2;
public final static int N_SQRS = 40;
public final static int MAX_PL = 9;
public final static int PRPTY = 0;
public final static int RR = 1;
public final static int UTIL = 2;
public final static int SAFE = 3;
public final static int CC = 4;
public final static int CHANCE = 5;
public final static int INC_TAX = 6;
public final static int GOTO_J = 7;
public final static int LUX_TAX = 8;
public final static int IN_JAIL = 9;
public final static int JAIL = 40;
public static void swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
    if ((A1) != (A2)) {
        (A1) ^= (A2);
        (A2) ^= (A1);
        (A1) ^= (A2);
    }
    return;
}
public static int sqnum(UNKNOWN_TYPE sqp) {
    return (ArrayUtils.indexOf(Monop.board, sqp));
}
public static int printline() {
    System.out.println("------------------------------");
    return 0;
}
public static int lucky(UNKNOWN_TYPE str) {
    System.out.println(str + (lucky_mes[Roll.roll(1, num_luck) - 1]));
    return 0;
}
public static int MAX_PRP() {
    return (MonopH.N_PROP + MonopH.N_RR + MonopH.N_UTIL);
}
public final static int N_MON = 8;
public final static int N_PROP = 22;
public final static int N_RR = 4;
public final static int N_UTIL = 2;
public final static int N_SQRS = 40;
public final static int MAX_PL = 9;
public final static int PRPTY = 0;
public final static int RR = 1;
public final static int UTIL = 2;
public final static int SAFE = 3;
public final static int CC = 4;
public final static int CHANCE = 5;
public final static int INC_TAX = 6;
public final static int GOTO_J = 7;
public final static int LUX_TAX = 8;
public final static int IN_JAIL = 9;
public final static int JAIL = 40;
public class MonopH {
    public static void swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
        if ((A1) != (A2)) {
            (A1) ^= (A2);
            (A2) ^= (A1);
            (A1) ^= (A2);
        }
        return;
    }

    public static int sqnum(UNKNOWN_TYPE sqp) {
        return (ArrayUtils.indexOf(Monop.board, sqp));
    }

    public static int printline() {
        System.out.println("------------------------------");
        return 0;
    }

    public static int lucky(UNKNOWN_TYPE str) {
        System.out.println(str + (lucky_mes[Roll.roll(1, num_luck) - 1]));
        return 0;
    }

    public static int MAX_PRP() {
        return (MonopH.N_PROP + MonopH.N_RR + MonopH.N_UTIL);
    }

    public final static int N_MON = 8;
    public final static int N_PROP = 22;
    public final static int N_RR = 4;
    public final static int N_UTIL = 2;
    public final static int N_SQRS = 40;
    public final static int MAX_PL = 9;
    public final static int PRPTY = 0;
    public final static int RR = 1;
    public final static int UTIL = 2;
    public final static int SAFE = 3;
    public final static int CC = 4;
    public final static int CHANCE = 5;
    public final static int INC_TAX = 6;
    public final static int GOTO_J = 7;
    public final static int LUX_TAX = 8;
    public final static int IN_JAIL = 9;
    public final static int JAIL = 40;
}
public class MonopH {
    public static void swap(UNKNOWN_TYPE A1, UNKNOWN_TYPE A2) {
        if ((A1) != (A2)) {
            (A1) ^= (A2);
            (A2) ^= (A1);
            (A1) ^= (A2);
        }
        return;
    }

    public static int sqnum(UNKNOWN_TYPE sqp) {
        return (ArrayUtils.indexOf(Monop.board, sqp));
    }

    public static int printline() {
        System.out.println("------------------------------");
        return 0;
    }

    public static int lucky(UNKNOWN_TYPE str) {
        System.out.println(str + (lucky_mes[Roll.roll(1, num_luck) - 1]));
        return 0;
    }

    public static int MAX_PRP() {
        return (MonopH.N_PROP + MonopH.N_RR + MonopH.N_UTIL);
    }

    public final static int N_MON = 8;
    public final static int N_PROP = 22;
    public final static int N_RR = 4;
    public final static int N_UTIL = 2;
    public final static int N_SQRS = 40;
    public final static int MAX_PL = 9;
    public final static int PRPTY = 0;
    public final static int RR = 1;
    public final static int UTIL = 2;
    public final static int SAFE = 3;
    public final static int CC = 4;
    public final static int CHANCE = 5;
    public final static int INC_TAX = 6;
    public final static int GOTO_J = 7;
    public final static int LUX_TAX = 8;
    public final static int IN_JAIL = 9;
    public final static int JAIL = 40;
}