Skip to content

Instantly share code, notes, and snippets.

1 Action , Discard any number of cards , 1 Card per card discarded .
Trash up to 4 cards from your hand .
2 Cards , Line , When another player plays an Attack card , you may reveal this from your hand , If you do , you are unaffected by that Attack .
$2 , You may immediately put your deck into your discard pile .
1 Card , 2 Actions .
1 Buy $2
Gain a card costing up to $4 .
Gain a Silver card; put it on top of your deck , Each other player reveals a Victory card from his hand and puts it on his deck (or reveals a hand with no Victory cards) .
Trash this card , Gain a card costing up to $5 .
Worth 1VP for every 10 cards in your deck (rounded down) .
@thelmuth
thelmuth / DominionCardSorter.py
Created June 27, 2012 14:03
Dominion Favorite Card Sorter
import random
#f = open("DominionCardList.txt")
#cards = []
#for line in f:
# cards.append(line[:-1])
cards = ['Cellar', 'Chapel', 'Moat', 'Courtyard', 'Pawn', 'Secret Chamber', 'Embargo', 'Haven', 'Lighthouse', 'Native Village', 'Pearl Diver', 'Herbalist', 'Hamlet', 'Crossroads', 'Duchess', "Fool's Gold", 'Chancellor', 'Village', 'Woodcutter', 'Workshop', 'Great Hall', 'Masquerade', 'Shanty Town', 'Steward', 'Swindler', 'Wishing Well', 'Ambassador', 'Fishing Village', 'Lookout', 'Smugglers', 'Warehouse', 'Loan', 'Trade Route', 'Watchtower', 'Fortune Teller', 'Menagerie', 'Develop', 'Oasis', 'Oracle', 'Scheme', 'Tunnel', 'Black Market', 'Bureaucrat', 'Feast', 'Gardens', 'Militia', 'Moneylender', 'Remodel', 'Smithy', 'Spy', 'Thief', 'Throne Room', 'Baron', 'Bridge', 'Conspirator', 'Coppersmith', 'Ironworks', 'Mining Village', 'Scout', 'Caravan', 'Cutpurse', 'Island', 'Navigator', 'Pirate Ship', 'Salvager', 'Sea Hag', 'Treasure Map', 'Bishop', 'Monument', 'Quarry', 'Talisman', "Worker's Village", 'Farming
@thelmuth
thelmuth / tomsgitconfig
Created June 15, 2012 13:04
Tom's Git Config Shell Script
git config --global user.name 'Tom Helmuth'
git config --global user.email [email protected]
git config --global core.editor emacs
git config --global color.ui true
git config --global alias.st status
git config --global alias.ch checkout
git config --global alias.br branch
@thelmuth
thelmuth / GitInit.md
Created January 20, 2012 16:06
Instructions for initializing a group Git project for the CI Lab.

Initializing A Git Project

  1. Write some code you want to make into a Git project.

  2. Change to the root directory of the project.

     $ cd project
    
  3. Initialize a Git repository.

@thelmuth
thelmuth / GitHub-help.md
Last active September 28, 2015 01:17
Help file for contributors to any CI Lab project on GitHub.

General Info

  • The master branch is the stable main branch. No one should ever need to edit the master branch, and even if they do, they should definitely never push it to the Github repository. All changes to master will come as merges from other branches, which Lee will be responsible for merging with master.

  • Branches are easy and cheap to create, and should be used extensively. If you ever want to "try something out", make sure you branch from master (or some other branch) first. If you want to add a feature to a project permanently, create a branch for it while you test it, and once the bugs are ironed out, then it can be merged to master (by Lee or whoever is managing the project). If you find a bug in master, create a branch to fix it. If you want to add some code for an experiment for a paper, create a branch for it. I cannot emphasize enough: things will be easier for all of us if we always create branches for any changes to master that we need.

  • Whenever Lee updates