Blue Ball, aka the player has to shoot the red ball, aka the enemy or npc. The blue ball shoots smaller yellow balls that damage the enemy aka the red ball. Blue ball and the red ball both have health that will decrease when the small yellow balls hit the player or the npc. The yellow ball decreases 10 health.the yellow balls go 100 speed navigation. They're only 7 red balls. The red balls also shoot yellow balls with the same speed&damage. When the player hp is 0 then it is game over.Blue Ball, aka the player has to shoot the red bal..ALL
Developer User8056|Date and time 23/9/28 3:17:04 Build time 42.679 sec|Game capacity 3.512KB|Script
Sure, here's an example of a simple game that meets your requirements. It's a basic implementation of the game you described using HTML and JavaScript. It should work on smartphones as well.
Note: This is a simple implementation to get you started and may require additional enhancements based on your specific requirements.