W to attack A and D to move (arrows can be used too)
The game was made in one hour to practice for my scratch programming contest so I am sorry if there are any bugs