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.
Pretty nice and funny kata of the series, hopefully I'll be able to solve more of them.
Looks like you like golf :D
very nice!!
It's 8, but I've seen where the problem is
"For level n" <-- this tiny bit..
Your score array contains only up to level 7.
Cool kata, but one thing I can't get is how the random tests are suppose to work?
My solution passes all the basic tests, but random tests all return "Cannot read properties of undefined",
when I copy the input from the random test in VScode for example though it works fine and returns the score?
"The game starts at level 0. The level increases every ten lines you clear."
It's pretty self explanatory..
Terrible description. The process of moving to a new level is not described; I had to try all the options to find the right one. Wasted my time
This comment is hidden because it contains spoiler information about the solution
I understand the logic, but why is the sorting behavior different between the two approaches (this code and mine)?
I interpreted it as: when you reach 30 lines, the game is finished. Which turned out to be the correct interpretation.
Not sure if the author is active, but I would enjoy solving the rest of the (intended) series.
This means 29 is the maximum field height instead. I would change the description:
This took my ages to discover. It's counter intuitive the maximum field height is an exclusive boundary.
impossible if you ask me, there no spec whatsoever how to clear lines
ah crap, I read over this part: "When such a line is formed, it disappears and any blocks above it fall down to fill the space."
no, just for shortening code
Loading more items...