Obstacles to mana source giving multiple mana? (a code qu.)
Posted: 07 Aug 2017, 22:28
So, I'm really interested in the project, but its really frustrating to see large blocks of cards be unavailable.
I took a look at the really basic code involved in mana sources, starting with the card parsing code, which details how the mana source is defined.
Obviously, its not hard to create a more flexible definition of mana sources from a data structure sense, but the issues come later. I understand that its much easier when you have a granularity of one for mana, and changing to a system where you have to look at a list of potential mana permutations is harder than just having sum totals of each potential color (but certainly not that much.) Looking at the forum, it seems that devs are very concerned about the AI being able to use every card... would it be correct to assume we don't multiple mana per source because the AI can't handle it.. yet?
Am I understanding the situation correctly? Is the hold-up on the back end of the engine? or should it be relatively simple, but just not a priority ATM?
Whats the situation with Magarena's AI, code-wise? I did see Monte Carlo mentioned, and I'm aware of the basic premise of monte carlo methods to find the "best" solution.
Is the AI code monolithic, or is it integrated into the general code base?
Any other thoughts would be welcome
(and P.S. my predominant experience is in database development, but I've coded for forever... happy to lend expertise, here.)
---
Utterly
I took a look at the really basic code involved in mana sources, starting with the card parsing code, which details how the mana source is defined.
Obviously, its not hard to create a more flexible definition of mana sources from a data structure sense, but the issues come later. I understand that its much easier when you have a granularity of one for mana, and changing to a system where you have to look at a list of potential mana permutations is harder than just having sum totals of each potential color (but certainly not that much.) Looking at the forum, it seems that devs are very concerned about the AI being able to use every card... would it be correct to assume we don't multiple mana per source because the AI can't handle it.. yet?
Am I understanding the situation correctly? Is the hold-up on the back end of the engine? or should it be relatively simple, but just not a priority ATM?
Whats the situation with Magarena's AI, code-wise? I did see Monte Carlo mentioned, and I'm aware of the basic premise of monte carlo methods to find the "best" solution.
Is the AI code monolithic, or is it integrated into the general code base?
Any other thoughts would be welcome
(and P.S. my predominant experience is in database development, but I've coded for forever... happy to lend expertise, here.)
---
Utterly