Back to project page umpire_buddy.
The source code is released under:
Apache License
If you think the Android project umpire_buddy listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.bluefairyapps.java.android.umpirebuddy.utils; /* w w w . j a v a2 s . co m*/ /** * Constant container class for all baseball game rules. * @author Matt Parish */ public final class BaseballRules { public static final int MAX_STRIKES = 3; public static final int MAX_BALLS = 4; public static final int NUM_INNINGS = 9; public static final int MAX_OUTS = 3; public static final int INIT_STRIKES = 0; public static final int INIT_BALLS = 0; public static final int INIT_INNING = 1; public static final int INIT_OUTS = 0; }