simple game made in java