You know what to do, right ? If not : arrow keys/wasd/mouse pointer (if mobile) for move, and then dodg'em all lol. Good luck !
I tried lot of things, but the last parts are getting too complex for my programming skills. If you want to fix and finish it, you can do while you credit me, and I'd be very happy of this.