Use arrow keys to move and space to attack. It doesn't matter if you have already lost. So basically even if you lose, you can still will if you want to.
Give all credit to jaff1233 although his version means you almost always lose without tinkering.