Very good!
I was able to cut out the map image and covert it. It is fewer pixels than for 1942 but this will likely not be important.
Do you have images for the nation insignias other than the German, Japanese, USA, UK and USSR images I already have?
The .txt file looks good too.
I just need to ask three stupid questions.
First, because the current code is a calculation of total IPC it does not include territories with zero value. There is no reason to put the radio buttons for a zero IPC territory on the map. The button function is to exchange ownership of IPC values. Is there some other feature to Global that is different than for 1942? If not I can just remove those zero IPC lines.
Second, what is the “n” owner in Global? Is that no owner but there could be?
Third, what is “nAllies” and “nAxis” owner in Global? Is this some alliance of neutrals? (Sounds like there may be a need for new code logic to deal with a complicated set of rules.) This will take more work.
Also, regarding your original observation about the capture of capital: There currently is no accounting for the loss of a nation’s capital in this code.
The question:
Would I correctly follow the board game rules if I have the nation’s IPC income turn to zero when the capital territory falls to an opposing nation? If the capital territory was liberated by the original owner nation or a friendly nation, it would again show the total IPC income of that nation. (program already keep track of liberated territory returning IPC to the original owner)
To be clear, this program just adds up a nation’s IPC total income from territories to determine income for that turn. It does not keep track of cash held by any nation, player.