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.
Fixed:D
So there is some misstype stuff in the description and such:
I feel like that should be called "Thirteen orphans" (please look here );
'鸟,4条,2饼,5饼,8饼,3万,6万,9万,东,南,北,中,发,白',# independeBce <-- independeNce?
'东,南,西,北,中,发,白,1万,9万,1饼,9饼,鸟,9条,白',# thirteen_with_seven
Why is it
thirteen_with_seven
, when in description there's athirteen with one
combination?Thank you very much!!!:D
But the actual testcase only tested one of the possibilities (always within ['1万', '4万', '7万', '8饼', '2饼', '5饼', '9条', '3条', '6条']). Consider shuffling array a / b before zipping them together, do beware that "1条" might be randomly generated and need to be converted to "鸟".
Testcase can and often generate invalid hands: eg: normal [白,5万,9万,4万,9万,6万,3万,9万,9万,白,9万,5万,7万,9万] (six 9万 here), seven pairs [白,白,白,白,白,白,白,白,白,白,白,白,白,白].
Off by 1 error while printing the function name, eg. ("hirteen_with_one", "ormal", "nependence", ...)
Thanks, and very well done
503 Arrrrrrrrrrrrrrrrgh! :(
I hate Montana!!!
Urr...Sorry, I have deleted clearity
Fixed.
Sorry, fixed.
Now all '1条' is replace by '鸟'. : )
Description and tests are inconsistent about if there should be a
1条
tile or not. It's not included in thealll
variable, but it's in thethirteen
variable, but not in thethirteen
test case, but in theindependence
test case...In that case, I have to remove those tiles used in Kong, then check for winning.
That is correct, just want to know if the test cases would include the case of having more than 14 tiles due to Kong.
Kong moves tiles outside your hand. It also requires you to draw one tile, so you wouldn't be having the same tiles anymore.
(Also, it is perfectly fine to have a winning hand with 4 of a kind. Typically that's one of the reasons you don't Kong even if you can.)
Did I need to consider Kong(杠)?
It will change the amount of tiles to win.
Loading more items...