Pretty fun game for something you did just for learning! How long did it take you to put together?
It was a fun mechanic to have to decide whether I wanted to dash for the next target or try to strategically stun my opponent (while avoiding being stunned myself). I can imagine this being really fun to play with another human player, especially with a few tweaks that make it more strategic (like if the stunning was directional, then it creates this super fun mind game: my opponent knows I want to dash to the target, so they can fire in that direction, but if I know this, then I may take a roundabout slower way to stay safe...but that gives them a chance to get it before me!!!)
One easy thing you can improve is making the flies spawn within a boundary. A lot of times they spawn almost completely off the edge of the screen, and I couldn't see it, and just saw the enemy going to the edge of the screen, and that felt unfair.