Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Yes, thank you
Your code passes the tests now, I'm going to assume that you solved it and mark this as resolved.
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.
python new test framework is required. updated in this fork
Language: C++
Test suit missing the required header
std::string
.approved
the picture is gone (
<img alt="pong" src="http://gifimage.net/wp-content/uploads/2017/08/pong-gif-3.gif">
)Added PHP 8.0 support
How is such a mistake even possible:
Expected: "Player 1 has hit the ball!"
But was: "Player 2 has hit the ball!"?
I passed the test task but further...
Yes. Well done :)
changed. Enough?
The description states
Alas, this is misleading; according to tests, "Game Over!" should be returned every time
play()
is called after either player has won, regardless whether they hit or miss.Rust translation
.
.
Loading more items...