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.
Thank you @dfhwze.
"Best Practice solutions tend to be a good balance of performance, readability and maintainability." It's neither.
I didn't know I could do this before I did it...
Is the ASCII the kid or a monkey? Also, why are people voting this as a Best Practice solution?
This comment is hidden because it contains spoiler information about the solution
It is not exactly a solution, it was also marked as spoiler. What I meant was that this kata requires little effort. It's more of a remark than a solution.
The color of the heading "Example" and the "p.s" at the end makes it hard to read in light mode.
OK. I'm working on a different one.
As dfhwze has written above, this a nearly similar kata. The other ones are already have to much satisfaction rate to change.
Just how chess can be played with just bishops and rooks, the solar system can be contracting.
Fixed it.
Now
"Earth"
(and"Venus"
) will leave the orbit.Now the return should be
"No planet won!"
for either empty list in input or empty list after game (for good code that would be the same). It still expects"It is a tie!"
if there are planets in the solar syste, but it's a tie.Fixed it!
Added example with
Saturn
becauseNeptune
is already part of the other example, and anyway,Neptune
doesn't have four moons.Loading more items...