bnordli / rftg

Race for the Galaxy AI
173 stars 32 forks source link

Support for Missing Official Format: Base Game + Rebel vs Imperium Only #24

Closed dsnvwlmnt closed 7 years ago

dsnvwlmnt commented 7 years ago

This is a little known, fully playtested and officially supported format, that is not available in the AI for no good reason. It would gives us a whole new format to play and learn that i'd like to explore and popularize a bit. Requires:

1) Train the AI for this new format.

2) Slightly adjust the New... dialog. The cleanest solution might be to just add a 4th Game Option "Disable The Gathering Storm", default off, and greyed out unless Rebel vs Imperium is selected in Expansion Level. Maybe better and more intuitive would be to have it in the Expansion Level, as "Rebel vs Imperium only".

3) Possible side-effects i don't know about: especially cards.txt. Possibly save game file, exporting games, campaign file. Might be easier or harder depending on whether it's made as an Expansion Level or a Game Option flag.

bnordli commented 7 years ago

Interesting.. There shouldn't be a problem with cards.txt, it will be a problem giving this format an id, though. I think it would be best represented internally by a flag, as you describe. How it will be represented in the UI can be debated, I think it is time for a revamp of the expansion selection, since the arcs are not represented in any way.

Marsux commented 7 years ago

internally, it seems at first sight easy to do after the refactoring of the cards.txt format:

So I don't think a flag is necessary, just a new (pseudo-)expansion.

Marsux commented 7 years ago

I have been working on the subject. I think I have a first implementation, I have been able to play some games with it, but still have a weird segfault just at the beginning of the game that seems to happen due to the absence of trained networks.

I have started training the networks, should be good to go tomorrow evening.

I'll let bnordli decided whether this can still be incorporated to the forthcoming release.

Marsux commented 7 years ago

See Pull request #26

Marsux commented 7 years ago

I just pushed the trained nets on the same branch. Do I have to do an additional pull request?

bnordli commented 7 years ago

Great, thanks! I'll take a look.

No, the new commit is automatically added to the existing PR.

bnordli commented 7 years ago

Merged as 11e5c95cb