Dominion Strategy Forum

Please login or register.

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

Author Topic: Simulation Tournament (Pairs)  (Read 11963 times)

0 Members and 1 Guest are viewing this topic.

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4074
  • Respect: +2624
    • View Profile
Simulation Tournament (Pairs)
« on: February 18, 2012, 01:31:36 pm »
+3

A week ago some people were asking why there hasn't been a simulation tournament. It was a fair question so I'll open one up. Hopefully the winning scripts will be interesting as well.

The challenge is to find a script that wins matches against other competitors only referencing two kingdom cards and basic cards. This will be, in other words, a challenge to find the strongest two card combination.

- Competition is to be run on Geronimoo's simulator (currently v 1.2.0).
- 2 player games only.
- No colony. No platinum. Potion is a legal basic card.
- No attack cards. No possession, ill gotten gains, masquerade, bishop, vault, embargo, or black market.
- Tournament can be used. Prize cards can be referenced without counting towards the two card limit but followers are prohibited.

You can set the starting hand in the simulator by clicking the start state tab and, for example, adding a line for the start state of "Copper, Copper, Copper, Copper, Estate" and the starting draw deck as "Copper, Copper, Copper, Estate, Estate". If you are using this feature then tick shuffle draw deck and make sure you do start with the required 7 copper and 3 estates. Any script without this feature will have a random starting hand.

Please send entries to DG through the Dominion Strategy Forum mail. Closing date for entries March 2nd. Each person is allowed up to two entries but the second entry must reference different kingdom cards from the first. Please title your scripts using your forum name and kingdom cards.

I will use my own judgement to decide the finalists and run these as a mini-league against each other. In each league game two points will be awarded to the script with the higher win rate, or 1 point each if the win rates differ by less than 1%. The overall winner will be the script with the most points. The tiebreaker will be highest aggregate win rate in the mini-league. The prize is ... nothing. It's all for fun.

Rules may change as feedbacks come through. I have already removed the restriction on the PPR.
« Last Edit: February 20, 2012, 09:57:43 am by DG »
Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4386
    • View Profile
    • WanderingWinder YouTube Page
Re: Simulation Tournament (Pairs)
« Reply #1 on: February 18, 2012, 03:17:45 pm »
0

A couple points. First, you can't really stop people from putting PPR in. I mean, I guess you can, sort of, just by arbitrarily ruling that something is PPR and thus disallowed by looking at it. But does that mean we can't put in any clever endgame rules? Because I love doing that. And if we can put those in, what constitutes as a PPR and what's just general endgame play.
Other question is whether we can reference other non-basic cards in our script without actually buying them. Like 'if there are fewer than 2 Mountebanks left' buy something else (obviously having a mountebank condition is silly - I reference it here because nobody could actually use it). I assume we can only reference basics plus what we buy, but I want to clarify.

HiveMindEmulator

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2222
  • Respect: +2118
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #2 on: February 18, 2012, 03:23:44 pm »
0

I would imagine you would want to have conditions on what's in opponents decks, so you can play different vs fast or slow strats.

But then again, maybe the challenge is just finding something that beats mint/FG with only 2 kingdom cards...
Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4386
    • View Profile
    • WanderingWinder YouTube Page
Re: Simulation Tournament (Pairs)
« Reply #3 on: February 18, 2012, 03:33:37 pm »
0

I would imagine you would want to have conditions on what's in opponents decks, so you can play different vs fast or slow strats.

But then again, maybe the challenge is just finding something that beats mint/FG with only 2 kingdom cards...
Done done done and done.

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4074
  • Respect: +2624
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #4 on: February 18, 2012, 04:21:12 pm »
0

Quote
A couple points. First, you can't really stop people from putting PPR in. I mean, I guess you can, sort of, just by arbitrarily ruling that something is PPR and thus disallowed by looking at it. But does that mean we can't put in any clever endgame rules? Because I love doing that. And if we can put those in, what constitutes as a PPR and what's just general endgame play.

It's really just for simplicity in everyone's scripts. Most province buying scripts are going to get an extra 2.5% win rate by adding the PPR in this speed of deck. If everyone has it, or everyone doesn't have it, then the advantage is generally nullified. If lots of people want the PPR included I can relax the restriction.

Quote
Other question is whether we can reference other non-basic cards in our script without actually buying them. Like 'if there are fewer than 2 Mountebanks left' buy something else (obviously having a mountebank condition is silly - I reference it here because nobody could actually use it). I assume we can only reference basics plus what we buy, but I want to clarify.

No I'd like to exclude conditions based on cards that might not be there. This also hopefully prevents some spurious gaining of cards through back doors in the simulator logic.

Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4386
    • View Profile
    • WanderingWinder YouTube Page
Re: Simulation Tournament (Pairs)
« Reply #5 on: February 18, 2012, 05:25:31 pm »
0

Well, I'm going to have crazily complicated scripts anyway, so I'm voting for allowing PPR. Also because just sticking a generic PPR in is, I think, not going to do nearly so well here as you'd get in a more realistic scenario.

Rabid

  • Jester
  • *****
  • Offline Offline
  • Posts: 840
  • Shuffle iT Username: Rabid
  • Respect: +643
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #6 on: February 18, 2012, 05:31:05 pm »
0

So far I have A>B>C>A so which 2 do I submit?  :-\
Logged
Twitch
1 Day Cup #1:Ednever

blueblimp

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2849
  • Respect: +1559
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #7 on: February 18, 2012, 05:39:49 pm »
0

First, you can't really stop people from putting PPR in. I mean, I guess you can, sort of, just by arbitrarily ruling that something is PPR and thus disallowed by looking at it. But does that mean we can't put in any clever endgame rules? Because I love doing that. And if we can put those in, what constitutes as a PPR and what's just general endgame play.

I'd suggest that (if it's desired to ban PPR), the rule be that bots are not allowed to depend on any of:
- your total vp
- your opponent's total vp
- the number of any particular vp card in you or your opponent's deck (it's fine to depend on how many are in the supply OR on the total number of vp cards of any type that you own)
Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4386
    • View Profile
    • WanderingWinder YouTube Page
Re: Simulation Tournament (Pairs)
« Reply #8 on: February 18, 2012, 09:14:45 pm »
0

First, you can't really stop people from putting PPR in. I mean, I guess you can, sort of, just by arbitrarily ruling that something is PPR and thus disallowed by looking at it. But does that mean we can't put in any clever endgame rules? Because I love doing that. And if we can put those in, what constitutes as a PPR and what's just general endgame play.

I'd suggest that (if it's desired to ban PPR), the rule be that bots are not allowed to depend on any of:
- your total vp
- your opponent's total vp
- the number of any particular vp card in you or your opponent's deck (it's fine to depend on how many are in the supply OR on the total number of vp cards of any type that you own)
I have to say that this is a really terrible idea. Not only does it stop you from doing anything clever at all with endgames, or let you self-check any kind of suicides, etc., it also stops you from using things that are quite often legitimate threshholds. For instance, if I'm building a duke bot, it's likely gonna wanna know how many duchies it has.
I mean, ok, I'm still for PPR being allowed. But even if you want to disallow it per se, you don't have to disallow the rest of this stuff.

popsofctown

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5477
  • Respect: +2860
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #9 on: February 19, 2012, 06:33:42 am »
0

I'm a bit confused - is the OP saying that we are allowed to use simulators that force a 5/2 start? 

If so, Miiiiiint FG
Logged

blueblimp

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2849
  • Respect: +1559
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #10 on: February 19, 2012, 01:24:12 pm »
0

I'm a bit confused - is the OP saying that we are allowed to use simulators that force a 5/2 start? 

If so, Miiiiiint FG

That's how I read it. I guess the tournament will show whether Mint/FG is really the best non-attacking 5/2 in the game. I wonder if it might be worth having a separate tournament for 4/3 starts.
Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4386
    • View Profile
    • WanderingWinder YouTube Page
Re: Simulation Tournament (Pairs)
« Reply #11 on: February 19, 2012, 01:44:03 pm »
0

I'm a bit confused - is the OP saying that we are allowed to use simulators that force a 5/2 start? 

If so, Miiiiiint FG

That's how I read it. I guess the tournament will show whether Mint/FG is really the best non-attacking 5/2 in the game. I wonder if it might be worth having a separate tournament for 4/3 starts.
Dudes, it's not even close. Mint/FG is pretty good, but there's LOTS of stuff that's better.
Seriously, enter Mint/FG. I expect you to do... poorly.

blueblimp

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2849
  • Respect: +1559
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #12 on: February 19, 2012, 02:48:22 pm »
0

I'm a bit confused - is the OP saying that we are allowed to use simulators that force a 5/2 start? 

If so, Miiiiiint FG

That's how I read it. I guess the tournament will show whether Mint/FG is really the best non-attacking 5/2 in the game. I wonder if it might be worth having a separate tournament for 4/3 starts.
Dudes, it's not even close. Mint/FG is pretty good, but there's LOTS of stuff that's better.
Seriously, enter Mint/FG. I expect you to do... poorly.

Is it really that easy to beat Mint/FG with only 2 types of cards, obeying the restrictions in the original list?

Edit: Removed a bit of this message to avoid talking about strategy too much in this thread.
« Last Edit: February 19, 2012, 03:20:50 pm by blueblimp »
Logged

Rabid

  • Jester
  • *****
  • Offline Offline
  • Posts: 840
  • Shuffle iT Username: Rabid
  • Respect: +643
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #13 on: February 19, 2012, 02:49:35 pm »
0

I'm 90% vs the built in FG mint.
Logged
Twitch
1 Day Cup #1:Ednever

blueblimp

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2849
  • Respect: +1559
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #14 on: February 19, 2012, 02:54:38 pm »
0

I'm 90% vs the built in FG mint.

I didn't know there was a built-in Mint/FG. I've just been using a (terrible) bot I made.

Anyway, of course it wouldn't make any sense to show how to beat Mint/FG in this thread, since that's the point of the tournament. I'm just surprised how quickly it was dismissed.
« Last Edit: February 19, 2012, 02:56:48 pm by blueblimp »
Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4386
    • View Profile
    • WanderingWinder YouTube Page
Re: Simulation Tournament (Pairs)
« Reply #15 on: February 19, 2012, 03:32:58 pm »
0

I'm a bit confused - is the OP saying that we are allowed to use simulators that force a 5/2 start? 

If so, Miiiiiint FG

That's how I read it. I guess the tournament will show whether Mint/FG is really the best non-attacking 5/2 in the game. I wonder if it might be worth having a separate tournament for 4/3 starts.
Dudes, it's not even close. Mint/FG is pretty good, but there's LOTS of stuff that's better.
Seriously, enter Mint/FG. I expect you to do... poorly.

Is it really that easy to beat Mint/FG with only 2 types of cards, obeying the restrictions in the original list?

Edit: Removed a bit of this message to avoid talking about strategy too much in this thread.
Yes, it is. Heck, there was a thread in which it was beaten only a week or two ago.

HiveMindEmulator

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2222
  • Respect: +2118
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #16 on: February 19, 2012, 06:11:40 pm »
0

The reason I brought up Mint/FG is not because I believe it's unbeatable, but it's because I would suspect a lot of people would enter some version of Mint/FG, so if you come up with something that beats that specifically, even if it loses to other stuff, you'll probably collect a lot of points.
Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4386
    • View Profile
    • WanderingWinder YouTube Page
Re: Simulation Tournament (Pairs)
« Reply #17 on: February 19, 2012, 07:13:04 pm »
0

The reason I brought up Mint/FG is not because I believe it's unbeatable, but it's because I would suspect a lot of people would enter some version of Mint/FG, so if you come up with something that beats that specifically, even if it loses to other stuff, you'll probably collect a lot of points.

Actually, along these lines, for kicks and giggles, I made a bot that beats Mint/FG but loses to something like BM/Chancellor.

rod-

  • Conspirator
  • ****
  • Offline Offline
  • Posts: 213
  • Respect: +49
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #18 on: February 19, 2012, 07:21:35 pm »
0

Why all the secrecy? :( I want to know what's giving you kicks and giggles!
Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4386
    • View Profile
    • WanderingWinder YouTube Page
Re: Simulation Tournament (Pairs)
« Reply #19 on: February 19, 2012, 07:25:27 pm »
0

Why all the secrecy? :( I want to know what's giving you kicks and giggles!
Because something along those lines might actually be useful for my secondary bot in the tournament (I've got the one that's going to win it pretty well worked out; well, I say that, but I'm winning like 3-1 over the original version of it I started with (which also crushed Mint/FG) now, so maybe there's more to be wrung out of it). Anyway, after submissions are in, I'll let you know.

Geronimoo

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1059
  • Respect: +868
    • View Profile
    • Geronimoo's Dominion Simulator
Re: Simulation Tournament (Pairs)
« Reply #20 on: February 20, 2012, 05:13:22 am »
0

Mint/FG is so bad... once you find a few other bots that crush it.
Logged

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4074
  • Respect: +2624
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #21 on: February 20, 2012, 10:00:58 am »
0

I've removed the restriction on the PPR. It was probably going to ultimately add more difficulty in adjudication than difficulty for the entrants. So please be aware that a well implemented PPR could gain over 2.5% win rate but could lose more if badly implemented.
Logged

Geronimoo

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1059
  • Respect: +868
    • View Profile
    • Geronimoo's Dominion Simulator
Re: Simulation Tournament (Pairs)
« Reply #22 on: February 21, 2012, 03:57:45 am »
0

Crap... I had an awesome bot with Bureaucrat, but just now realize it's an attack ::)
Logged

popsofctown

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5477
  • Respect: +2860
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #23 on: February 21, 2012, 06:58:34 am »
0

Is Tribute an "attack"?

Also, can you buy from a 10 card supply if your opponent isn't mirroring your strategy, but suddenly share that 10 card supply if he is using one of your cards too?
« Last Edit: February 21, 2012, 07:09:12 am by popsofctown »
Logged

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4074
  • Respect: +2624
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #24 on: February 21, 2012, 09:03:32 am »
0

Tribute is not an attack and is allowed. I prohibited some other non-attack cards since they can adversely change the simulator decisions but the tribute is fine.


If both players reference the same card in their script they will gain their cards from the same supply pile, as in a regular game. I think this answers your second question.
Logged

popsofctown

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5477
  • Respect: +2860
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #25 on: February 21, 2012, 10:30:05 am »
0

It's kind of a downer that a lot of the more interesting strategies are inhibited by play rules :/
Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4386
    • View Profile
    • WanderingWinder YouTube Page
Re: Simulation Tournament (Pairs)
« Reply #26 on: February 25, 2012, 04:15:10 pm »
+1

Okay, I have my two bots more or less ready to compete here. So I'm okay posting this little gem that barely beats BMU, loses to BM/Chancellor, and beats Mint/FG (I'm not using it):
Code: [Select]
<player name="Bridge/City Classic"
 author="WanderingWinder"
 description="This bot isn't very good, because it relies largely on mega-turns which it can't reliably get so well (though colony games would make that a different story). XXXXHowever, if you've got opponents who are pile-driving, this becomes massive.">
 <type name="Optimized"/>
 <type name="TwoPlayer"/>
 <type name="SingleCard"/>
 <type name="Province"/>
 <type name="BigMoney"/>
 <type name="UserCreated"/>
 <type name="Bot"/>
   <buy name="Province">
      <condition>
         <left type="countCardsInDeck" attribute="Bridge"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="6.0"/>
      </condition>
      <condition>
         <left type="countCardsInDeck" attribute="City"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="6.0"/>
      </condition>
   </buy>
   <buy name="Duchy">
      <condition>
         <left type="countCardsInSupply" attribute="Province"/>
         <operator type="smallerOrEqualThan" />
         <right type="constant" attribute="2.0"/>
      </condition>
   </buy>
   <buy name="Estate">
      <condition>
         <left type="countCardsInSupply" attribute="Province"/>
         <operator type="smallerOrEqualThan" />
         <right type="constant" attribute="1.0"/>
      </condition>
   </buy>
   <buy name="Bridge">
      <condition>
         <left type="countCardsInPlay" attribute="Bridge"/>
         <operator type="equalTo" />
         <right type="constant" attribute="1.0"/>
      </condition>
      <condition>
         <left type="countAvailableMoney"/>
         <operator type="equalTo" />
         <right type="constant" attribute="6.0"/>
      </condition>
   </buy>
   <buy name="City"/>
   <buy name="Bridge"/>
   <buy name="Bridge"/>
   <buy name="Silver">
      <condition>
         <left type="countCardsInDeck" attribute="Silver"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="2.0"/>
      </condition>
   </buy>
   <buy name="Duchy"/>
   <buy name="Estate">
      <condition>
         <left type="gainsNeededToEndGame"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="3.0"/>
      </condition>
   </buy>
</player>

Who else is thinking of competing, by the way?

shark_bait

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1103
  • Shuffle iT Username: shark_bait
  • Luckyfin and Land of Hinter for iso aliases
  • Respect: +1868
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #27 on: February 25, 2012, 06:15:35 pm »
0

I'll probably submit a single bot.  I've been working on one on and off for the past week going through many generations of it.  I haven't been able to get any of the rock/paper/scissors stuff that others have described so I'll just submit my one best bot and see how it does.
Logged
Hello.  Name's Bruce.  It's all right.  I understand.  Why trust a shark, right?

Is quite curious - Who is the mystical "Celestial Chameleon"?

blueblimp

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2849
  • Respect: +1559
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #28 on: February 26, 2012, 12:47:23 am »
0

Okay, I have my two bots more or less ready to compete here. So I'm okay posting this little gem that barely beats BMU, loses to BM/Chancellor, and beats Mint/FG (I'm not using it):
Code: [Select]
<player name="Bridge/City Classic"
 author="WanderingWinder"
 description="This bot isn't very good, because it relies largely on mega-turns which it can't reliably get so well (though colony games would make that a different story). XXXXHowever, if you've got opponents who are pile-driving, this becomes massive.">
 <type name="Optimized"/>
 <type name="TwoPlayer"/>
 <type name="SingleCard"/>
 <type name="Province"/>
 <type name="BigMoney"/>
 <type name="UserCreated"/>
 <type name="Bot"/>
   <buy name="Province">
      <condition>
         <left type="countCardsInDeck" attribute="Bridge"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="6.0"/>
      </condition>
      <condition>
         <left type="countCardsInDeck" attribute="City"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="6.0"/>
      </condition>
   </buy>
   <buy name="Duchy">
      <condition>
         <left type="countCardsInSupply" attribute="Province"/>
         <operator type="smallerOrEqualThan" />
         <right type="constant" attribute="2.0"/>
      </condition>
   </buy>
   <buy name="Estate">
      <condition>
         <left type="countCardsInSupply" attribute="Province"/>
         <operator type="smallerOrEqualThan" />
         <right type="constant" attribute="1.0"/>
      </condition>
   </buy>
   <buy name="Bridge">
      <condition>
         <left type="countCardsInPlay" attribute="Bridge"/>
         <operator type="equalTo" />
         <right type="constant" attribute="1.0"/>
      </condition>
      <condition>
         <left type="countAvailableMoney"/>
         <operator type="equalTo" />
         <right type="constant" attribute="6.0"/>
      </condition>
   </buy>
   <buy name="City"/>
   <buy name="Bridge"/>
   <buy name="Bridge"/>
   <buy name="Silver">
      <condition>
         <left type="countCardsInDeck" attribute="Silver"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="2.0"/>
      </condition>
   </buy>
   <buy name="Duchy"/>
   <buy name="Estate">
      <condition>
         <left type="gainsNeededToEndGame"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="3.0"/>
      </condition>
   </buy>
</player>

Who else is thinking of competing, by the way?

This is very neat, but when I ran it locally, it lost to Mint/FG (assuming I guarantee a 5/2 opening for the Mint/FG) even if it is guaranteed a 4/3 start. Results:
  Win: 46.6% +/- 0.4%
  Loss: 52.6% +/- 0.4%
  Tie: 0.9% +/- 0.1%
This is just for academic interest only, since I can beat Mint/FG so I'm not worried about it dominating.
Logged

shark_bait

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1103
  • Shuffle iT Username: shark_bait
  • Luckyfin and Land of Hinter for iso aliases
  • Respect: +1868
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #29 on: February 26, 2012, 01:48:57 am »
0

Why do I get the feeling that this little sim tourney will be a battle to see whose bot can win the mirror?  ;)
Logged
Hello.  Name's Bruce.  It's all right.  I understand.  Why trust a shark, right?

Is quite curious - Who is the mystical "Celestial Chameleon"?

blueblimp

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2849
  • Respect: +1559
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #30 on: February 26, 2012, 02:35:08 am »
0

Why do I get the feeling that this little sim tourney will be a battle to see whose bot can win the mirror?  ;)

I'm sure elite bot-makers can beat everything I create, but I have two completely different strategies that are fairly close to each other.
Logged

DStu

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2627
  • Respect: +1490
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #31 on: February 26, 2012, 10:41:45 am »
0

Who else is thinking of competing, by the way?

I have submitted one bot, not sure if I have an idea for a second.
Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4386
    • View Profile
    • WanderingWinder YouTube Page
Re: Simulation Tournament (Pairs)
« Reply #32 on: February 26, 2012, 11:35:29 am »
0

Okay, I have my two bots more or less ready to compete here. So I'm okay posting this little gem that barely beats BMU, loses to BM/Chancellor, and beats Mint/FG (I'm not using it):
Code: [Select]
<player name="Bridge/City Classic"
 author="WanderingWinder"
 description="This bot isn't very good, because it relies largely on mega-turns which it can't reliably get so well (though colony games would make that a different story). XXXXHowever, if you've got opponents who are pile-driving, this becomes massive.">
 <type name="Optimized"/>
 <type name="TwoPlayer"/>
 <type name="SingleCard"/>
 <type name="Province"/>
 <type name="BigMoney"/>
 <type name="UserCreated"/>
 <type name="Bot"/>
   <buy name="Province">
      <condition>
         <left type="countCardsInDeck" attribute="Bridge"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="6.0"/>
      </condition>
      <condition>
         <left type="countCardsInDeck" attribute="City"/>
         <operator type="greaterThan" />
         <right type="constant" attribute="6.0"/>
      </condition>
   </buy>
   <buy name="Duchy">
      <condition>
         <left type="countCardsInSupply" attribute="Province"/>
         <operator type="smallerOrEqualThan" />
         <right type="constant" attribute="2.0"/>
      </condition>
   </buy>
   <buy name="Estate">
      <condition>
         <left type="countCardsInSupply" attribute="Province"/>
         <operator type="smallerOrEqualThan" />
         <right type="constant" attribute="1.0"/>
      </condition>
   </buy>
   <buy name="Bridge">
      <condition>
         <left type="countCardsInPlay" attribute="Bridge"/>
         <operator type="equalTo" />
         <right type="constant" attribute="1.0"/>
      </condition>
      <condition>
         <left type="countAvailableMoney"/>
         <operator type="equalTo" />
         <right type="constant" attribute="6.0"/>
      </condition>
   </buy>
   <buy name="City"/>
   <buy name="Bridge"/>
   <buy name="Bridge"/>
   <buy name="Silver">
      <condition>
         <left type="countCardsInDeck" attribute="Silver"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="2.0"/>
      </condition>
   </buy>
   <buy name="Duchy"/>
   <buy name="Estate">
      <condition>
         <left type="gainsNeededToEndGame"/>
         <operator type="smallerThan" />
         <right type="constant" attribute="3.0"/>
      </condition>
   </buy>
</player>

Who else is thinking of competing, by the way?

This is very neat, but when I ran it locally, it lost to Mint/FG (assuming I guarantee a 5/2 opening for the Mint/FG) even if it is guaranteed a 4/3 start. Results:
  Win: 46.6% +/- 0.4%
  Loss: 52.6% +/- 0.4%
  Tie: 0.9% +/- 0.1%
This is just for academic interest only, since I can beat Mint/FG so I'm not worried about it dominating.
Yeah. Apparently I have a messed up version of Mint/FG in my sim. Of course, I have a better bridge/city that beats this, too, but it also beats BM/Chancellor. Loses nastily to BM/Fortune Teller though.

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4074
  • Respect: +2624
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #33 on: March 01, 2012, 11:18:12 am »
0

We're nearly at the closing date for entries. I've received submissions so far from

Geronimoo (2)
DStu (1)
BlueBlimp (2)
WanderingWinder (2)
Shark_Bait (1) - needs small amendment

Unless I get a rush of late entries all these scripts will be in the 'final' with the exception of the one that can't beat pure money. I'll see how well that one does against the other competitors separately.
Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4386
    • View Profile
    • WanderingWinder YouTube Page
Re: Simulation Tournament (Pairs)
« Reply #34 on: March 01, 2012, 11:58:49 am »
0

We're nearly at the closing date for entries. I've received submissions so far from

Geronimoo (2)
DStu (1)
BlueBlimp (2)
WanderingWinder (2)
Shark_Bait (1) - needs small amendment

Unless I get a rush of late entries all these scripts will be in the 'final' with the exception of the one that can't beat pure money. I'll see how well that one does against the other competitors separately.

Wait, somebody submitted one that can't beat pure money? Actually I was going for that with city/bridge, a bot that can beat the submitted ones but loses to pure money, but unfortunately it's a touch too strong....

blueblimp

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2849
  • Respect: +1559
    • View Profile
Re: Simulation Tournament (Pairs)
« Reply #35 on: March 01, 2012, 02:27:44 pm »
0

We're nearly at the closing date for entries. I've received submissions so far from

Geronimoo (2)
DStu (1)
BlueBlimp (2)
WanderingWinder (2)
Shark_Bait (1) - needs small amendment

Unless I get a rush of late entries all these scripts will be in the 'final' with the exception of the one that can't beat pure money. I'll see how well that one does against the other competitors separately.

Wait, somebody submitted one that can't beat pure money? Actually I was going for that with city/bridge, a bot that can beat the submitted ones but loses to pure money, but unfortunately it's a touch too strong....

I wonder if the bot losing to pure money is one of mine. Wouldn't surprise me, since one of the bots I submitted just because it is good at sniping bad versions of my other one, although I thought I ran each against BMU at some point. (Edit: Nevermind, they are both >99% against BMU.)

By the way, in the results, it might be interesting to see how each bot performs against some of the good bots included with the simulator. In particular, the included HP/Baron bot gets an OK winrate against both my bots.

Edit: Other included bots that get respectable winrates vs the better of my two submissions: NV/Bridge, FG/Council Room (with a 5/2 start), and to a lesser extent Caravan/Vault (with a 5/2 start). I have some simple bots playing some other 2-card combos that get okay winrates too, but weren't good enough to submit.
« Last Edit: March 01, 2012, 03:25:39 pm by blueblimp »
Logged
Pages: 1 2 [All]
 

Page created in 0.547 seconds with 20 queries.