Use the arrow keys to move. Get to the portal on each level to get to the next level.
credit to @Fuzziman1015 for helping me with the code. He's my brother.