The dice game Pig written in Java