
public class Game {

	private int score;

	public void roll(int i) {
		score+=i;
		
	}

	public int score() {
		
		return score;
	}

}


public class Game {

	private int score;

	public void roll(int pins) {
		score+=pins;
		
	}

	public int score() {
		
		return score;
	}

}

test 3 refactor