Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: [1]

Author Topic: Simulation challenge : Dull or not?  (Read 1552 times)

0 Members and 1 Guest are viewing this topic.

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4071
  • Respect: +2611
    • View Profile
Simulation challenge : Dull or not?
« on: January 05, 2012, 11:34:12 am »
0

This kingdom came up in the tournament and on the face of it, it looks very dull. However simulations suggest there is more to it. Anyone want to take the challenge and find the strongest script for this kingdom?

Chapel, Conspirator, Duke, Jester, Masquerade, Quarry, Smugglers, Talisman, Watchtower, and Workshop

(Of course I could be wrong and it could be very dull, but I hope not)
Logged

Geronimoo

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1047
  • Respect: +843
    • View Profile
    • Geronimoo's Dominion Simulator
Re: Simulation challenge : Dull or not?
« Reply #1 on: January 05, 2012, 05:39:26 pm »
0

It's pretty clear Duke is dominant here, so the trick is going to be to get the most Duchies the fastest without your economy dying...

Here's my bot:
Code: [Select]
<player name="Dull Sim Challenge"
 author="Geronimoo"
 description="http://forum.dominionstrategy.com/index.php?action=post;topic=1358.0;last_msg=21933">
 <type name="Bot"/>
 <type name="TwoPlayer"/>
 <type name="UserCreated"/>
 <type name="Competitive"/>
 <type name="Combo"/>
 <type name="Province"/>
   <buy name="Duke">
      <condition>
         <left type="countCardsInDeck" attribute="Duchy"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="4.0"/>
      </condition>
      <condition>
         <left type="countCardsInOpponentsDecks" attribute="Duchy"/>
         <operator type="equalTo" />
         <right type="constant" attribute="0.0"/>
      </condition>
      <condition>
         <left type="countCardsInDeck" attribute="Duke"/>
         <operator type="smallerThan" />
         <right type="countCardsInDeck" attribute="Duchy"/>
         <extra_operation type="plus" attribute="3.0" />
      </condition>
   </buy>
   <buy name="Duchy">
      <condition>
         <left type="countCardsInDeck" attribute="Smugglers"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="0.0"/>
      </condition>
      <condition>
         <left type="countCardsInOpponentsDecks" attribute="Masquerade"/>
         <operator type="equalTo" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Duchy">
      <condition>
         <left type="getTotalMoney"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="12.0"/>
      </condition>
   </buy>
   <buy name="Province">
      <condition>
         <left type="countCardsInOpponentsDecks" attribute="Duchy"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Duke">
      <condition>
         <left type="countCardsInSupply" attribute="Duchy"/>
         <operator type="equalTo" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Estate">
      <condition>
         <left type="countCardsInSupply" attribute="Duke"/>
         <operator type="smallerOrEqualThan" />
         <right type="constant" attribute="4.0"/>
      </condition>
   </buy>
   <buy name="Jester">
      <condition>
         <left type="countCardsInDeck" attribute="Jester"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="1.0"/>
      </condition>
   </buy>
   <buy name="Gold"/>
   <buy name="Smugglers">
      <condition>
         <left type="countCardsInDeck" attribute="Smugglers"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="2.0"/>
      </condition>
   </buy>
   <buy name="Silver"/>
</player>
Logged

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4071
  • Respect: +2611
    • View Profile
Re: Simulation challenge : Dull or not?
« Reply #2 on: January 06, 2012, 08:55:20 am »
0

Well Geronimoo's bot had better duchy purchasing rules than mine, but there's still a clear improvement to be made (the mildly interesting part).
Logged

DStu

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2627
  • Respect: +1488
    • View Profile
Re: Simulation challenge : Dull or not?
« Reply #3 on: January 06, 2012, 09:15:00 am »
0

Code: [Select]
<player name="Masquerade-AllIn"
 author="DStu"
 description="The optimized Masquerade strategy that buys no other actions and no other VPs than Provinces. Against Dukerush.">
 <type name="SingleCard"/>
 <type name="Optimized"/>
 <type name="TwoPlayer"/>
 <type name="Bot"/>
 <type name="BigMoney"/>
 <type name="Province"/>
 <type name="UserCreated"/>
   <buy name="Province"/>
   <buy name="Gold"/>
   <buy name="Masquerade">
      <condition>
         <left type="countCardsInDeck" attribute="Masquerade"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="1.0"/>
      </condition>
   </buy>
   <buy name="Silver"/>
</player>

Obviously the Smugglers don't help here, but it also wins against the standard Dukebot.

Edit:
Now of course the bot does not play very optimal and get' beaten by standard BM-Jester and standard BM-Masq, but you can modify it to fall back on standard BM-Masq if the opponent buys a Province.
Code: [Select]
<player name="Masquerade-AllIn"
 author="DStu"
 description="The optimized Masquerade strategy that buys no other actions and no other VPs than Provinces. Against Dukerush.   Falls back to standard Masquerade if opponent buys Province">
 <type name="Bot"/>
 <type name="BigMoney"/>
 <type name="Province"/>
 <type name="UserCreated"/>
 <type name="Optimized"/>
 <type name="TwoPlayer"/>
 <type name="SingleCard"/>
   <buy name="Province"/>
   <buy name="Duchy">
      <condition>
         <left type="countCardsInSupply" attribute="Province"/>
         <operator type="smallerOrEqualThan" />
         <right type="constant" attribute="4.0"/>
      </condition>
      <condition>
         <left type="countCardsInOpponentsDecks" attribute="Province"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Estate">
      <condition>
         <left type="countCardsInSupply" attribute="Province"/>
         <operator type="smallerOrEqualThan" />
         <right type="constant" attribute="2.0"/>
      </condition>
      <condition>
         <left type="countCardsInOpponentsDecks" attribute="Province"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="0.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>
      <condition>
         <left type="countCardsInOpponentsDecks" attribute="Province"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Masquerade">
      <condition>
         <left type="countCardsInDeck" attribute="Masquerade"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="1.0"/>
      </condition>
   </buy>
   <buy name="Silver"/>
</player>
« Last Edit: January 06, 2012, 11:54:01 am by DStu »
Logged

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4071
  • Respect: +2611
    • View Profile
Re: Simulation challenge : Dull or not?
« Reply #4 on: January 08, 2012, 10:33:16 am »
0

This is a script I've put together for smuggler/talisman chasing dukes, with about 30-40% imported from Geronimoo's good duchy/duke bot. This has a slight edge over DStu's masquerade script and I suspect it will remain pretty even after the masquerade has more fine tuning.

Code: [Select]
<player name="Smugglers/talisman improved"
 author="DG"
 description="">
 <type name="UserCreated"/>
 <type name="TwoPlayer"/>
 <type name="BigMoney"/>
 <type name="SingleCard"/>
 <type name="Generated"/>
 <type name="Province"/>
 <type name="Bot"/>
   <buy name="Province">
      <condition>
         <left type="countCardsInSupply" attribute="Duchy"/>
         <operator type="equalTo" />
         <right type="constant" attribute="0.0"/>
      </condition>
      <condition>
         <left type="countCardsInDeck" attribute="Duchy"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="6.0"/>
      </condition>
   </buy>
   <buy name="Duke">
      <condition>
         <left type="countCardsInDeck" attribute="Duke"/>
         <operator type="smallerThan" />
         <right type="countCardsInDeck" attribute="Duchy"/>
         <extra_operation type="minus" attribute="3.0" />
      </condition>
      <condition>
         <left type="countCardsInOpponentsDecks" attribute="Duchy"/>
         <operator type="equalTo" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Duchy">
      <condition>
         <left type="countCardsInOpponentsDecks" attribute="Smugglers"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Duchy">
      <condition>
         <left type="getTotalMoney"/>
         <operator type="greaterOrEqualThan" />
         <right type="constant" attribute="19.0"/>
      </condition>
   </buy>
   <buy name="Province">
      <condition>
         <left type="getTotalMoney"/>
         <operator type="greaterOrEqualThan" />
         <right type="constant" attribute="19.0"/>
      </condition>
   </buy>
   <buy name="Duke">
      <condition>
         <left type="countCardsInDeck" attribute="Duchy"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="1.0"/>
      </condition>
   </buy>
   <buy name="Estate">
      <condition>
         <left type="countCardsInSupply" attribute="Duke"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="4.0"/>
      </condition>
   </buy>
   <buy name="Silver">
      <condition>
         <left type="countCardsInPlay" attribute="Talisman"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Gold"/>
   <buy name="Jester">
      <condition>
         <left type="countCardsInOpponentsDecks" attribute="Smugglers"/>
         <operator type="equalTo" />
         <right type="constant" attribute="0.0"/>
      </condition>
      <condition>
         <left type="countCardsInDeck" attribute="Jester"/>
         <operator type="equalTo" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Talisman">
      <condition>
         <left type="countCardsInDeck" attribute="Talisman"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="1.0"/>
      </condition>
   </buy>
   <buy name="Smugglers">
      <condition>
         <left type="countCardsInDeck" attribute="Smugglers"/>
         <operator type="equalTo" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Smugglers">
      <condition>
         <left type="countCardsInDeck" attribute="Smugglers"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="2.0"/>
      </condition>
      <condition>
         <left type="countCardsInOpponentsDecks" attribute="Smugglers"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Silver"/>
</player>

The reason I posted this kingdom up is that I can't remember any mention on these forums of taking two silvers instead of a gold (other than gardens). In this kingdom the double silver from a talisman defends against smugglers and jesters, bulks up the deck quickly for green card purchasing, and the gold is not needed for province hands. As usual in these marginal cases though, an average use of a good card such as masquerade can sadly match a good combination of talisman/smuggler/jester/duke.
Logged

DStu

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2627
  • Respect: +1488
    • View Profile
Re: Simulation challenge : Dull or not?
« Reply #5 on: January 08, 2012, 11:18:16 am »
0

gg.

I don't see much space for improvement for the Masquerade. The point is that you have to sprint to 8 Provinces asap, and that's already hard enough. It took me some time to realize that you may not wait to get some Duchies/Dukes to hinder the Dukeplayer, but as it is like that you just may not take anything else. You won't get to 8 Provinces otherwise.

Talisman does not help, second Masquerade does not help, Jester does not help. There is not much left...
Logged
Pages: [1]
 

Page created in 0.116 seconds with 20 queries.