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.
Please change the following things:
<?php
to solution and solution setup. Currently it only works without because of backwards compatiblitySolutionTest
You're right. Thanks for letting me know! Corrected.
@crossbred, I think you changed the function name in the tests but missed updating it in the Solution Setup.
Great! I will do that. Thanks!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Solved the problem.
Added random tests.
Added random tests.
covering cases with fixed tests is good. nonetheless, you will still have to implement random tests. they are not optional.
no random tests
Added three rounds of the game, showing two, three and four fingers.
There is no chance to tie; since, if one player chooses even the other it is up to him odd and vice versa.
Simplified the player class.
I have considered all possible cases, so I consider random tests unnecessary.
Added sample tests.
Loading more items...