I appreciate the feedback, I focused more on the mechanics that I wanted the game to have.
I changed the attack at the last moment and in a hurry, I was also thinking of adding more behavior to the ghosts in each difficulty, that the allies try to dodge attacks or that the enemies flee after attacking since they do not collide with the walls.. Maybe some behavior in group.