[Community Puzzle] Sand Fall - Puzzle discussion

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @yhuberla,validated by @DeanTheMachine,@TBali and @Drunkey.
If you have any issues, feel free to ping them.

1 Like

Wow that’s goes crazy. very tricky and sharp mind

Can anyone give me the test case for “Chess - Anastasia’s mate” from the validator test cases?

I pass all tests except this one. No clue, where I went wrong.

Sent it to you via private message.

How could in case 4
|Ju|
|ST|
±-+
Letter J will go to position 0 ,0 when started from position 0 , 1. Letter J went to left ? How ? We could go only diagonaly left or right

The input description mentions:

The character s representing the grain of sand followed by its initial position p above the box

When J is added, consider it being added above the box:

     01
-1:   J
 0: | u|
 1: |ST|
 2: +--+

Hope this helps! :slightly_smiling_face:

1 Like

thank You very much Harry.B

1 Like

this puzzle is not easy, rather medium.
Note : if you struggle with the case “Pop culture”, consider that it contains ‘x’ that you maybe use as the empty case like in the example…