This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cellar Action $2 +1 Action, Discard any number of cards. +1 Card per card discarded. | |
Chapel Action $2 Trash up to 4 cards from your hand. | |
Moat Action - Reaction $2 +2 Cards, When another player plays an Attack card, you may reveal this from your hand. If you do, you are unaffected by that Attack. | |
Chancellor Action $3 +2 Coins, You may immediately put your deck into your discard pile. | |
Village Action $3 +1 Card, +2 Actions. | |
Woodcutter Action $3 +1 Buy, +2 Coins. | |
Workshop Action $3 Gain a card costing up to 4 Coins. | |
Bureaucrat Action - Attack $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). | |
Feast Action $4 Trash this card. Gain a card costing up to 5 Coins. | |
Gardens Victory $4 Variable, Worth 1 Victory for every 10 cards in your deck (rounded down). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+1 Action, Discard any number of cards. +1 Card per card discarded. | |
Trash up to 4 cards from your hand. | |
+2 Cards, 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. | |
Variable, Worth 1 Victory for every 10 cards in your deck (rounded down). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is an implementation of the pure Big Money strategy, updated | |
# based on WanderingWinder's forum posts: | |
# http://forum.dominionstrategy.com/index.php?topic=625 | |
{ | |
name: 'Big Money' | |
author: 'WanderingWinder' | |
gainPriority: (state, my) -> | |
if state.supply.Colony? | |
[ | |
"Colony" if my.getTotalMoney() > 32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> import wordfreq, langcodes | |
>>> def legible_list(lst): | |
... return('\N{LEFT-TO-RIGHT MARK}, '.join(lst)) | |
... | |
>>> for lang in sorted(wordfreq.available_languages()): | |
... language_name = langcodes.get(lang).language_name('en') | |
... top_ten = legible_list(wordfreq.top_n_list(lang, 10)) | |
... print('%-3s %-12s %s' % (lang, language_name, top_ten)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^ marks the name of the card. | |
The column with all the @ signs indicates the cost and type. I probably missed some because I was impatiently editing a file I had already. | |
A = Action, T = Treasure, V = victory, a = Attack, R = Reaction, v = traVeler, D = Duration, E = Event, r = Ruins. | |
| indicates a line break, and --- indicates a horizontal line. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2renole | |
$3, Action | |
Trash this card. If you do, gain a Silver per 5 cards it, and put them into your hand. | |
3rost | |
$5, Action, Duration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
aaaaaa | |
aaaaaa | |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaa | |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | |
aaaaaaaaa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> from wordfreq import tokenize, word_frequency | |
>>> tokenize('电影放映机', 'zh') | |
['电影', '放映', '机'] | |
>>> word_frequency('电影放映机', 'zh') | |
5.370851923771552e-08 | |
>>> word_frequency('programme', 'en') | |
5.754399373371567e-05 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Given a tab-separated, sorted file where each line is a key and a count, | |
# merge adjacent lines with the same key by adding their counts. | |
BEGIN { | |
# Initialize the current count. | |
# We use the empty string as a sentinel value, indicating that we haven't | |
# seen a key yet. We won't output a total for the empty string. | |
key = "" | |
count = 0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function _init() | |
-- tiles to move per frame | |
-- don't make this more than 1 | |
fstep = 1/8 | |
-- step counter | |
-- it can overflow, that's fine | |
step = 0 | |
trailpos = 0 | |
OlderNewer