ASCII Games: Warning: Ice!

Problem Source: Codewars Any youngster Joeys should probably know what this image means, and why it is traumatic: In many grid-based 2D puzzle games, there is a typical form of puzzle which are usually referred to as ‘ice puzzle’: You have to traverse from point A to point B You can move towards one of the 4 orthogonal directions, 1 tile at a time Some of the floors are slippery; if you walk onto a slippery tile, you’ll keep sliding in the direction you’re going until you land on a non-slippery tile, or you collide with an obstacle/wall For example, the top-left part of the above puzzle has such a solution:...

January 18, 2023