The game is called magic planets. In the game you need to be able to defeat the mages BUT DOVER THE MAGIC OF YOUR ENEMIES.
Simply put, it's a hardcore time killer.
And here is the link to the game: https://kotofey124.itch.io/magikplanet
you can play from your phone or from a computer