Data Science Asked by lezebulon on April 20, 2021
For a side project I’m trying to build a (simplified) AI for Heroes Of Might and Magic, using (as a starting point) deep Q-learning. But I’m having trouble to understand how the "state space" is supposed to be represented.
Here’s an idea of what the battle looks like
Roughly speaking:
I’ve simplified this such that I reduced the board size and am only considering 1 troop per army.
However I am not sure how I should "formalize" the problem into a RL problem, especially concerning the "state" of the game.
For state, I can either:
It seems to me that the first solution would be simpler but complex to generalize to a variable number of enemy units
Second solution has all the infos but the state is getting big and very sparse. Also I’m not sure it’s the best to input the state in terms of absolute positions, rather than relative position to the unit that has to take an action.
What do you think ? Are there any resources to understand better how such a problem should be transformed into a RL problem?
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP