Unfortunately the battle part of the game didn't reach the complexity i had planned for it (ill probably add and expand on this after the jam is complete). As for how it works, its using an API hosted on Azure.