Click one of the 3 buttons at the bottom of the screen. They all say what they do on them. Mana increases every time you do something that doesn't use it. You can see your mana in the top left below "Player Health". If your health goes below 1, the game is over. When the enemy health goes below 1, it switches to the next one. There are 5 enemies, each being harder than the last.
You can make your own version of this game and use it in other games if you want to, but give me credit if you do. You can add more enemies, more buttons, change the enemies (and the buttons), so this is fully customisable.