A simple game made in java