Press <space> to place a cat. You may move the apple around.
How it works: The cat finds it's way to the apple using a map of arrows that made by cloning a single arrow in all 4 direction checking for walls. The arrows are then reversed so that they make a path leading to the apple no matter where you start. The cat then checks what coloured tile is under it using a hitbox type of thing. (all 4 direction arrows are differently coloured) Then the cat just clones itself on key pressed and points in the direction of the arrow eventually leading to the apple and fading away. It sounds complicated it is very simple. Credit to Griffpatch. Thx Griffpatch.