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.
.
Can you post your current solution as a spoiler so i can have a look!
Same problem for me, i have written in c#
Random Tests
Test Passed: Value == 'Player 1 has missed the ball!'
Test Passed: Value == 'Player 2 has missed the ball!'
Test Passed: Value == 'Player 1 has missed the ball!'
Test Passed: Value == 'Player 2 has missed the ball!'
Expected: 'Player 2 has won the game!', instead got: 'Player 1 has missed the ball!'
Expected: 'Game Over!', instead got: 'Player 2 has missed the ball!'
Expected: 'Game Over!', instead got: 'Player 1 has missed the ball!'
Expected: 'Game Over!', instead got: 'Player 2 has missed the ball!'
Expected: 'Game Over!', instead got: 'Player 1 has missed the ball!'
Expected: 'Game Over!', instead got: 'Player 2 has missed the ball!'
Every player has missed the ball, how can 'Player 2 has won the game!' ???
The language is Javascript
Magic
Personal think, use constructor is not a good practice