If you love
Dominion (and if you don't yet, perhaps you should consider doing so), then you'll love this
javascript Dominion implementation. It's bare-bones enough to be simple, yet it implements all the different card mechanics.
Rob, this might be an excellent venue for (y)our proposed Dominion AI bake-off.