You can move with A and D, but can only open doors with the actual up arrow, not W.
I'm not sure if it's supposed to end with you dying back in the first room, but I couldn't figure out what else to do.