Found it on google, Demo 42 contained Haunted Maze, and this is a youtube of it
http://www.youtube.com/watch?v=dtl7f5orjm4 (skip to 1:25 for gameplay)
I remember another Net Yaroze game caled Timeslip where you control a snail and every 30 seconds or so, another snail is spawned that repeats your past, and if you collide with your past snails then you die. That was fun