When Skip count equal to 4, the following player is not allowed to skip this turn. When the player chooses to skip this round, the error message shown on the console and the expected output is allowing the player to choose another option.
developing a new function to handle the situation
New Funtion Created : public void skip() { if (skipCount < 4 && !isFirstPlayer) { addHistory(currentPlayer.getName(), null); handleSkipPlay(); currentPlayerIndex = nextPlayerIndex(); skipCount++; turn++; } else { System.out.println("Your cannot skip! Please choose again!"); pause(); } incrementRound(); }