6D can be very confusing indeed, especially with the limitation of ASCII display, but you got it even better than most of the others. See,'C' is wall, and 'c' is an NPC, but it's not how they look ('c'), that determines their behavior, but their environment (blue/green/red).
Thank for trying and commenting.