Arrow keys to move. Avoid red.
Part 1: https://scratch.mit.edu/projects/410858192/ Part 2: https://scratch.mit.edu/projects/410927652/