calling method must be like die1.getFace() and die2.getFace() instead of die1(getFace) and die2(getFace) also you have to declare count and star