I don't know if it's intended but you can hold the arrow keys and the character would continue to swing. I think it would be much more challenging if it only swings every time the button is pressed once. Other than that, it's a pretty good game.
Its not a bug its a feature~ (i couldnt find a way to fix it on time)