126
Simulation / Simulating Challenge - Harem
« on: August 08, 2011, 06:08:57 pm »
I have a project going on to produce the best-for-the-simulator single-card strategies out of every individual card in Geronimoo's simulator (well, all the nontrivial ones. Obviously I'm not doing throne room, and gardens isn't very interesting by itself, etc.). The way I'm measuring this is either in comparison to any other strategy using only that card (the best one should win more than it loses against every other iteration) or by how big of a margin it beats Big Money by. Now one of the cards that's giving me fits is Harem. There are so many different ways of programming it, it's really difficult to compare them all. So I'd like to know what you guys can come up with. For the record, here's the big money I'm using (it's not totally optimized probably, as you could tweak the endgames real slightly, but it's pretty close given the options we have now).
Code: [Select]
<player name="Big Money">
<buy name="Province">
<condition>
<left type="countCardsInDeck" attribute="Gold"/>
<operator type="greaterThan" />
<right type="constant" attribute="0.0"/>
</condition>
</buy>
<buy name="Duchy">
<condition>
<left type="countCardsInSupply" attribute="Province"/>
<operator type="smallerOrEqualThan" />
<right type="constant" attribute="4.0"/>
</condition>
</buy>
<buy name="Estate">
<condition>
<left type="countCardsInSupply" attribute="Province"/>
<operator type="smallerOrEqualThan" />
<right type="constant" attribute="2.0"/>
</condition>
</buy>
<buy name="Gold"/>
<buy name="Duchy">
<condition>
<left type="countCardsInSupply" attribute="Province"/>
<operator type="smallerOrEqualThan" />
<right type="constant" attribute="6.0"/>
</condition>
</buy>
<buy name="Silver"/>
</player>