Arrow keys to move, and don’t hit the red enemies! You must get the blue key in room 2 to enter the blue door in room 3.
I would like to thank my school teacher for most of the code, rest of it was mine.