Use W or Up Arrow to move up. Use S or Down Arrow to move down. Warning: This bot is unbeatable. You will probably never beat it.
Credits: Me Scratch 3.0 (scratch.mit.edu) If you have a friend to play with check out this project: https://scratch.mit.edu/projects/1314048210/