// Implements the game of Craps logic public class CrapsGame { private int shootersPoint = 0; /** * Calculates the result of the next dice roll in the Craps game. * The parameter total is the sum of dots on two dice. * Shooters point is set to the saved total, if the game continues, * or 0, if the game has ended. * Returns 1 if player won, -1 if player lost, * 0 if player continues rolling. */ public int processRoll(int total) { // need to do return 0; } /** * Returns the saved shooters point */ public int getPoint() { return shootersPoint; } }