Arrow keys or aswd to move. Space to bend. You might have to wait a bit for the enemy to come out.
Thanks to @JEZZYK for the idea and @Warfame for the idea.