Updated the 'Player' class by adjusting the JavaDocs and writing the logic for the 'isFinished()' method.