Java Mini-Game