Snowball fight minigame

I'm thinking about adding a small snowball fight minigame that you have with the children villagers on the way to an ice cave dungeon.

I'm unsure how to go about this but I know there will be 3 opponents. 1 that follows you, 1 that runs around randomly, and 1 that runs away from you.

all of them will be throwing snowballs at different speed frequencies.

once you are hit 3 times you lose and the minigame ends. when an opponent gets hit 3 times they will be taken out of the minigame but you can keep going.

when all 3 opponents have been hit 3 times the minigame ends with you as the victor.

again I'm unsure about how to code this properly as I need snowballs to leave the player after pressing a button and travel a certain distance in the direction the player is facing.

I'm also unsure about how the opponents will take damage when a snowball collides with them.

if anyone has some technical know-how on how to make this possible I would be very appreciative.
Almost all of this can be just evented, but I see the problem with enemies getting hit, so if you're using MZ, maybe Galv's Map Projectiles? It can do the shhoting and getting hit.
Thank you so much for showing me this plugin, this is exactly what I need, I just need to tweak it so that it allows for a set number of hits to be taken before an event happens that takes the opponent or character off of the map.

Original thread: https://forums.rpgmakerweb.com/threads/snowball-fight-minigame.169793/