/* * @(#)DecoderConstants.java 1.0 97/09/15 */ /** * Interface to hold constants for the Decoder * applet. */ public interface DecoderConstants { /** * Maximum number of guesses the player is allowed. */ public static final int MAXNUMGUESSES = 7; /** * Maximum number of marbles of a particular * color that the computer is allowed in its * solution. */ public static final int MAXDUPLICATIONS = 2; /** * Number of marble types. */ public static final int NUMTYPES = 5; /** * Number of marbles in each guess * (equals number of rows of the board) */ public static final int NUMSLOTS = 4; }