DominionStrategy Wiki
<player name="WarehouseWW" author="WanderingWinder" description="The optimized Warehouse bot that buys no other actions"> <type name="TwoPlayer"/> <type name="Generated"/> <type name="BigMoney"/> <type name="Bot"/> <type name="UserCreated"/> <type name="SingleCard"/> <type name="Province"/> <buy name="Province"> <condition> <left type="getTotalMoney"/> <operator type="greaterThan" /> <right type="constant" attribute="16.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="Warehouse"> <condition> <left type="countCardsInDeck" attribute="Warehouse"/> <operator type="smallerThan" /> <right type="constant" attribute="1.0"/> </condition> <condition> <left type="getTotalMoney"/> <operator type="greaterThan" /> <right type="constant" attribute="11.0"/> </condition> </buy> <buy name="Warehouse"> <condition> <left type="countCardsInDeck" attribute="Warehouse"/> <operator type="smallerThan" /> <right type="constant" attribute="2.0"/> </condition> <condition> <left type="getTotalMoney"/> <operator type="greaterThan" /> <right type="constant" attribute="18.0"/> </condition> </buy> <buy name="Silver"/> <buy name="Estate"> <condition> <left type="countCardsInSupply" attribute="Province"/> <operator type="smallerOrEqualThan" /> <right type="constant" attribute="3.0"/> </condition> </buy></player>
<player name="EmbassyWW" author="WanderingWinder" description="The optimized Embassy strategy that buys no other actions."> <type name="TwoPlayer"/> <type name="BigMoney"/> <type name="Bot"/> <type name="UserCreated"/> <type name="Optimized"/> <type name="SingleCard"/> <type name="Province"/> <buy name="Province"> <condition> <left type="getTotalMoney"/> <operator type="greaterThan" /> <right type="constant" attribute="13.0"/> </condition> <condition> <left type="countCardsInDeck" attribute="Embassy"/> <operator type="greaterThan" /> <right type="constant" attribute="0.0"/> </condition> </buy> <buy name="Province"> <condition> <left type="getTotalMoney"/> <operator type="greaterThan" /> <right type="constant" attribute="15.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="Embassy"> <condition> <left type="countCardsInDeck" attribute="Embassy"/> <operator type="smallerThan" /> <right type="constant" attribute="1.0"/> </condition> </buy> <buy name="Gold"/> <buy name="Duchy"> <condition> <left type="countCardsInSupply" attribute="Province"/> <operator type="smallerOrEqualThan" /> <right type="constant" attribute="5.0"/> </condition> </buy> <buy name="Embassy"> <condition> <left type="countCardsInDeck" attribute="Embassy"/> <operator type="smallerThan" /> <right type="constant" attribute="2.0"/> </condition> </buy> <buy name="Duchy"> <condition> <left type="countCardsInSupply" attribute="Province"/> <operator type="smallerOrEqualThan" /> <right type="constant" attribute="7.0"/> </condition> </buy> <buy name="Silver"/></player>
<player name="WharfWW" author="WanderingWinder" description="The optimized Wharf strategy that buys no other actions."> <type name="TwoPlayer"/> <type name="BigMoney"/> <type name="Bot"/> <type name="UserCreated"/> <type name="Optimized"/> <type name="SingleCard"/> <type name="Province"/> <buy name="Duchy"> <condition> <left type="countCardsInSupply" attribute="Province"/> <operator type="equalTo" /> <right type="constant" attribute="2.0"/> </condition> <condition> <left type="countVP"/> <operator type="smallerThan" /> <right type="countMAXOpponentVP"/> </condition> <condition> <left type="countVP"/> <operator type="greaterOrEqualThan" /> <right type="countMAXOpponentVP"/> <extra_operation type="minus" attribute="3.0" /> </condition> </buy> <buy name="Province"> <condition> <left type="getTotalMoney"/> <operator type="greaterThan" /> <right type="constant" attribute="16.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="Wharf"> <condition> <left type="countCardsInDeck" attribute="Wharf"/> <operator type="smallerThan" /> <right type="countCardTypeInDeck" attribute="Treasure"/> <extra_operation type="divideBy" attribute="8.0" /> </condition> </buy> <buy name="Gold"/> <buy name="Wharf"> <condition> <left type="countCardsInDeck" attribute="Wharf"/> <operator type="smallerThan" /> <right type="countCardTypeInDeck" attribute="Treasure"/> <extra_operation type="divideBy" attribute="4.0" /> </condition> </buy> <buy name="Duchy"> <condition> <left type="countCardsInSupply" attribute="Province"/> <operator type="smallerOrEqualThan" /> <right type="constant" attribute="6.0"/> </condition> </buy> <buy name="Silver"/> <buy name="Estate"> <condition> <left type="countCardsInSupply" attribute="Province"/> <operator type="smallerOrEqualThan" /> <right type="constant" attribute="4.0"/> </condition> </buy></player>