• ###### ahmet_popajcommented on "Tetris Series #2 — Primitive Gameplay" kata

Pretty nice and funny kata of the series, hopefully I'll be able to solve more of them.

• ###### VDSurChauffecommented on "Enumerable Magic #25 - Take the First N Elements" python solution

Looks like you like golf :D

very nice!!

• ###### SS-Stefanov1commented on "Tetris Series #1 — Scoring System" kata

It's 8, but I've seen where the problem is

"For level n" <-- this tiny bit..

• ###### Chrono79commented on "Tetris Series #1 — Scoring System" kata

For level n you must determine the formula by yourself using given examples from the table.

Your score array contains only up to level 7.

• ###### SS-Stefanov1commented on "Tetris Series #1 — Scoring System" kata

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?

• ###### SS-Stefanov1commented on "Tetris Series #1 — Scoring System" kata

"The game starts at level 0. The level increases every ten lines you clear."

It's pretty self explanatory..

• ###### 3au4onokcommented on "Tetris Series #1 — Scoring System" kata

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

• ###### AbdallahSiyabicommented on "Suzuki needs help lining up his students!" python solution

This comment is hidden because it contains spoiler information about the solution

• ###### AbdallahSiyabicommented on "Suzuki needs help lining up his students!" python solution

I understand the logic, but why is the sorting behavior different between the two approaches (this code and mine)?

• ###### Kees de Vreugdcommented on "Tetris Series #2 — Primitive Gameplay" kata

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.

• ###### dfhwzecommented on "Tetris Series #2 — Primitive Gameplay" kata

This means 29 is the maximum field height instead. I would change the description:

``````The game ends if all commands from input were interpreted or the maximum field height (29 units) is exceeded.
``````
• ###### dfhwzecommented on "Tetris Series #2 — Primitive Gameplay" kata

This took my ages to discover. It's counter intuitive the maximum field height is an exclusive boundary.

``````The game ends if all commands from input were interpreted or the maximum field height (30 units) is reached.
``````
• ###### dfhwzecommented on "Tetris Series #2 — Primitive Gameplay" kata

impossible if you ask me, there no spec whatsoever how to clear lines

• one at a time
• can pieces drop down
• can individual cells drop down

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."

• ###### goldenratio161commented on "Byte me!" python solution

no, just for shortening code