Remodel

This card has the most lines of code (about 100) so I expect it have bugs AND it’s still far from what a human player is capable to do with the card

Will only be played if:

  • a suitable card to Remodel is found in hand (see below)

When played:

  • a list of cards is made with candidates for trashing. Only add to the list if what we will gain is better than the card we trash. The card also needs to be better than what we were able to buy (without using Remodel) or trashing the card will not hinder our buying potential
  • then if we’re still in the early game (no greens except Estates), we run through the list and find the candidate that we most want to trash (probably Estate)
  • if we’re no longer in the early game, we run through the list and find the candidate that will Remodel into the best card. If there’s a tie or we want to Remodel into nothing we take the card we most want to trash
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: