Use arrow keys to move. Do not touch purple. Get to the yellow to go to the next level. Look for hidden paths and other things. Press S key to skip level.
Thanks to my bestie @google-splat for helping me with the code.