What do you get when you merge together
- drheld's Dominion extension for Chrome
- councilroom.com and its 750,000 analyzed games
- and the awesome machine learning in Vowpal Wabbit?
You get a Dominion bot.
Some very related code
Another crucial component for a Dominion bot is a simulator for what actually happens when you play cards. I started developing it here, but then moved it into a separate project: http://github.com/rspeer/dominiate
When you take a robot and make it Dominion-themed, you get a Golem.
So what does it do?
The core of Golem is a function that evaluates a game state, containing its deck, an opponent's deck, and the supply, and returns a positive or negative value representing that deck's ability to win. Much of what it does so far is serving a JSON API for this.
It can also hook into the Dominion Point Counter in a kind of flaky way to become a semi-bot that suggests what to buy.