Use arrows or wasd keys to move. The player will point at your mouse. Click to shoot. (This is NOT mobile friendly)
Credits to the maker of battle arena, @KIKOKO_ for inspiration and code (I didn't backpack, I just looked at it then wrote it down by hand here.) Other credits are in the game. just click the c button in the bottom-left corner.