The graphics are very attractive, and the mechanic of moving the ghost around to attack is really innovative!
Collision detection for the ghost seemed quite buggy though, as the ghost would often pass through the enemies without damaging them, even when I had plenty of energy. It also took many hits from the ghost to kill each enemy, no matter how fast I moved my mouse.
The "R" key for dodge was an unfortunate choice, since it requires using the same finger as pressing "D" for movement, so it limits the directions in which the player can dodge. The Spacebar or a mouse button would have been a nicer input for that. It would have been nice to have music and sound effects, too.
Still, it was a neat idea for the mechanic and theme, and if you fix the bugs and adjust the game balance this could be really fun. Thank you for sharing this game!