Use the arrow keys to move around, and reach the castle before the monster eats you. You can also press the spacebar to boost, 1.5x your speed.
I am still working out the last bits of it, but I hope it works fine for now. For some reason, no matter what I do, when you click retry it'll still think you died, so you have to click start again. Does anyone know how to fix this? I feel like it always happens with my projects.