Dominion Strategy Forum

Please login or register.

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

Author Topic: DominionSim - Now with Intrigue  (Read 5535 times)

0 Members and 1 Guest are viewing this topic.

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
DominionSim - Now with Intrigue
« on: March 30, 2015, 12:30:25 am »
+10

All righty, finally got Masquerade implemented and now all Intrigue cards are baked into DominionSim! Bridge is probably my new favorite card for exploring what's possible in a single turn. Thanks for all the feedback so far. Please continue to post suggestions and issues here or on GitHub. More tools, improvements and Seaside coming soon! Stay tuned.

Additionally:
- Added DrawPile and AllOpponentsCards as a location that works in all functions. Thanks for the feedback!
- Added some more built in brains ported from Geronimoo's simulator.
- Better cancelling during analysis or playing a complex turn.
- Performance improvements on Cellar, ThroneRoom and SecretChamber.

Get it here: https://github.com/ChrisDS1/DominionSim/releases

Masquerade in a big game:


Solve which choices to make in cards like Pawn, Minion, Steward and Mining Village:


Nobles, GreatHall, Harem, Upgrade, Bridge:



Logged

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7757
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8714
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #1 on: March 30, 2015, 12:41:55 am »
0

How do you have all the time to do all of this stuff?  And well done, by the way.  Are you going to keep making your way through the expansions?
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #2 on: March 30, 2015, 01:29:12 am »
0

Time flies when you're having fun. :)  Certainly would like to make it through all of them. Adding cards isn't that hard, unit tests for cards takes a while. I really want to get to more of the tools to explore and analyze games done too, so I'm staging things and not just burning through all expansions at once.
Logged

Zappie

  • Thief
  • ****
  • Offline Offline
  • Posts: 95
  • Respect: +44
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #3 on: March 30, 2015, 05:43:20 am »
0

But in the picture you post, why does spythief pass a silver if also has a curse in hand?
Logged

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #4 on: March 30, 2015, 10:20:17 am »
0

The output on the right is scrolled to the middle of the game, where the state on the left is the end of the game. If you setup a turn a from scratch, it will prefer to pass Curses and cards it doesn't care about.

When a brain is asked to pass a card, it will iterate what cards to pass and the resulting turn after that. So in a tough choice case like "ThroneRoom Remodel Gold Gold Gold", it will choose Gold because it sees it can gain 2 Provinces keeping the other cards.



By the way, there's an option to show Debug Output which will show some of the internal iteration it's doing. (Eventually want this to provide good data for debugging the brain code):

Logged

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #5 on: March 30, 2015, 11:21:50 am »
+2

Not a promise to do this always in the future as cards come out, but some of these are easy so I added Magpie.

https://github.com/ChrisDS1/DominionSim/releases



Logged

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #6 on: March 30, 2015, 11:08:45 pm »
0

Also got to adding Storyteller and Bazaar

https://github.com/ChrisDS1/DominionSim/releases

« Last Edit: March 30, 2015, 11:38:18 pm by Chris »
Logged

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7757
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8714
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #7 on: March 30, 2015, 11:20:24 pm »
0

At first I was surprised you didn't add Lost City, then I remembered it has the whole on-gain thing going on, which you probably won't want to get to until you get to Hinterlands.

EDIT: Could you possibly add turn numbers?  One of the benefits of simulation is seeing at what turn number a strategy hits 4 Provinces.
« Last Edit: March 30, 2015, 11:31:32 pm by werothegreat »
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #8 on: March 30, 2015, 11:44:43 pm »
0

Lost City has an "on gain" requirement that no other card has in the engine yet.  Definitely want to get there.

I can add turn numbers. The "4 Provinces" I want to answer in a different way though: a tool which takes an equation, like CountOf(Provinces) and returns the average value during analysis. Or plots it per turn. This would allow a lot of flexibility for doing analysis and building a "dashboard" for analyzing a game.

Logged

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7757
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8714
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #9 on: April 11, 2015, 11:59:43 pm »
0

Could you possibly add Soothsayer ahead of schedule?  I like your interface, and I was interested in tinkering around with it.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #10 on: April 13, 2015, 10:41:55 pm »
+1

Sure, that one's easy. Here you go:

https://github.com/ChrisDS1/DominionSim/releases
Logged

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7757
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8714
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #11 on: April 16, 2015, 10:12:22 pm »
0

Sure, that one's easy. Here you go:

https://github.com/ChrisDS1/DominionSim/releases

Thanks!  As you may have seen, I've been making use of that in a General Dominion Discussion thread.  I'm assuming you're working on Durations at the moment?
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #12 on: April 17, 2015, 01:12:07 am »
0

Yes. They're a pain in the butt. :)
« Last Edit: April 18, 2015, 02:23:17 pm by Chris »
Logged

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #13 on: April 17, 2015, 10:35:12 am »
0

What are the issues you're having getting it to buy cards the way you do?
Logged

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7757
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8714
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #14 on: April 17, 2015, 10:37:34 am »
0

What are the issues you're having getting it to buy cards the way you do?

Nothing with the simulation itself, just trying to actually put into code my rather complicated priorities at any given turn.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #15 on: May 13, 2015, 11:48:39 pm »
+1

I added most of the Seaside cards:

https://github.com/ChrisDS1/DominionSim/releases/

After playing Adventures and looking at other cards not yet implemented, I think there's some refactoring that needs to happen to better support the more complicated features of the game. So next release is going to focus on getting the hardest cards done (like Band of Misfits, Prince, others), finalizing the file format the best I can and getting the source in shape that I can release it.
Logged

Burning Skull

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1051
  • Shuffle iT Username: Burning Skull
  • See you in the Outpost
  • Respect: +1643
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #16 on: May 14, 2015, 05:28:07 am »
0

Thanks for doing the great job!

One little suggestion on the UI: maybe you should stack items in the trash? (like Curse x5 Copper x8 etc)

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #17 on: May 16, 2015, 12:17:10 am »
0

Yup, same with the Deck since it's really a probability draw to the player.

Lots of UI and tool ideas left. I've found though that some cards require dramatic changes to the internals and the UI. For example: how do you represent Band of Misfits as a played duration? It has to be both in the list. So I want to get the hardest stuff in and then iterate more on the editor.
Logged

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #18 on: May 30, 2015, 06:46:34 pm »
0

Looks like I didn't actually upload 0.2.4.0, it should be there now :)
Logged

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7757
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8714
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #19 on: October 08, 2015, 06:55:31 pm »
0

So, are you still working on this?
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Chris

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +76
    • View Profile
Re: DominionSim - Now with Intrigue
« Reply #20 on: October 26, 2015, 08:13:28 pm »
+2

Yes!

Logged
Pages: [1]
 

Page created in 0.091 seconds with 21 queries.