Arrow keys to move. Avoid black. Get to the green to get to the next level. If you can't move, you've touched the black.
thanks to @Brendalachi