Ad
  • Custom User Avatar

    Yes, thank you

  • Custom User Avatar

    Your code passes the tests now, I'm going to assume that you solved it and mark this as resolved.

  • Custom User Avatar

    Language: Java

    I passed the sampleTest(), but the ATTEMPT gives me the following error message:
    expected: <Player 2 has won the game!> but was: <Player 1 has missed the ball!>

    I don't understand why this happens, since the winning condition is evaluated first, followed by the conditions for hitting or missing the ball.