rspeer/dominiate — Issue #59: Strategies run forever and buy nothing
Author: jaredbeck
Created: 2012-01-07 02:22:07+00:00
State: open

First time trying this simulator, but no matter what strategies I choose, they run forever and don't seem to ever buy anything.

$ ./play.coffee strategies/SillyAI.coffee strategies/SillyAI.coffee
strategies/SillyAI.coffee
strategies/SillyAI.coffee
(SillyAI shuffles.)
SillyAI draws 5 cards: [Estate, Estate, Estate, Copper, Copper].
(SillyAI shuffles.)
SillyAI draws 5 cards: [Copper, Copper, Estate, Copper, Copper].
Tableau: [Pawn, Workshop, Venture, Nomad Camp, Herbalist, Pirate Ship, Scout, Tactician, Peddler, Quarry]

== SillyAI's turn 1 ==
SillyAI plays Copper.
SillyAI plays Copper.
Coins: 2, Potions: 0, Buys: 1
SillyAI draws 5 cards: [Copper, Copper, Copper, Copper, Copper].

== SillyAI's turn 1 ==
SillyAI plays Copper.
SillyAI plays Copper.
SillyAI plays Copper.
SillyAI plays Copper.
Coins: 4, Potions: 0, Buys: 1
SillyAI draws 5 cards: [Copper, Copper, Copper, Estate, Estate].

== SillyAI's turn 2 ==
SillyAI plays Copper.
SillyAI plays Copper.
SillyAI plays Copper.
SillyAI plays Copper.
SillyAI plays Copper.
Coins: 5, Potions: 0, Buys: 1
(SillyAI shuffles.)
SillyAI draws 5 cards: [Estate, Copper, Copper, Copper, Copper].

== SillyAI's turn 2 ==
SillyAI plays Copper.
SillyAI plays Copper.
SillyAI plays Copper.
Coins: 3, Potions: 0, Buys: 1
(SillyAI shuffles.)
SillyAI draws 5 cards: [Copper, Copper, Estate, Copper, Copper].