Use wasd to move, and click to swing your sword, but don't swing it too much because it will decrease your stamina with every swing. The lower your stamina, the more knockback you take, and if you touch the edge or your stamina reaches zero, you die, so time your attacks strategically!