diff --git a/cards.js b/cards.js deleted file mode 100644 index 37aaf99..0000000 --- a/cards.js +++ /dev/null @@ -1,16 +0,0 @@ -const cards = [ - "Chateau", - "Consul", - "Eclipse", - "Flask", - "Foundry", - "Moonlit_Scheme", - "Productive_Village", - "Retainer", - "Secret_Society", - "Shovel", - "Silk", - "Steelworker", - "Vase", - "Vendor", -] \ No newline at end of file diff --git a/cards/Beaver_v0.1.png b/cards/Beaver_v0.1.png deleted file mode 100644 index 67762b1..0000000 Binary files a/cards/Beaver_v0.1.png and /dev/null differ diff --git a/cards/Birdly_v0.1.png b/cards/Birdly_v0.1.png deleted file mode 100644 index 2a16763..0000000 Binary files a/cards/Birdly_v0.1.png and /dev/null differ diff --git a/cards/Catastrophe_v0.1.png b/cards/Catastrophe_v0.1.png deleted file mode 100644 index da48fde..0000000 Binary files a/cards/Catastrophe_v0.1.png and /dev/null differ diff --git a/cards/Chateau_v0.1.png b/cards/Chateau_v0.1.png deleted file mode 100644 index 3dd357d..0000000 Binary files a/cards/Chateau_v0.1.png and /dev/null differ diff --git a/cards/Consul_v0.1.png b/cards/Consul_v0.1.png deleted file mode 100644 index 3b5931e..0000000 Binary files a/cards/Consul_v0.1.png and /dev/null differ diff --git a/cards/Discover_v0.1.png b/cards/Discover_v0.1.png deleted file mode 100644 index c94533e..0000000 Binary files a/cards/Discover_v0.1.png and /dev/null differ diff --git a/cards/Eclipse_v0.1.png b/cards/Eclipse_v0.1.png deleted file mode 100644 index 477e1a2..0000000 Binary files a/cards/Eclipse_v0.1.png and /dev/null differ diff --git a/cards/Flask_v0.1.png b/cards/Flask_v0.1.png deleted file mode 100644 index 2dcf4de..0000000 Binary files a/cards/Flask_v0.1.png and /dev/null differ diff --git a/cards/Foundry_v0.1.png b/cards/Foundry_v0.1.png deleted file mode 100644 index b6b422a..0000000 Binary files a/cards/Foundry_v0.1.png and /dev/null differ diff --git a/cards/High_Council_v0.1.png b/cards/High_Council_v0.1.png deleted file mode 100644 index bc6b955..0000000 Binary files a/cards/High_Council_v0.1.png and /dev/null differ diff --git a/cards/Leasing_v0.1.png b/cards/Leasing_v0.1.png deleted file mode 100644 index 4b7fd93..0000000 Binary files a/cards/Leasing_v0.1.png and /dev/null differ diff --git a/cards/Merchant’s_Favor_v0.1.png b/cards/Merchant’s_Favor_v0.1.png deleted file mode 100644 index 3d0653d..0000000 Binary files a/cards/Merchant’s_Favor_v0.1.png and /dev/null differ diff --git a/cards/Moneypress_v0.1.png b/cards/Moneypress_v0.1.png deleted file mode 100644 index 1aec63d..0000000 Binary files a/cards/Moneypress_v0.1.png and /dev/null differ diff --git a/cards/Moonlit_Scheme_v0.1.png b/cards/Moonlit_Scheme_v0.1.png deleted file mode 100644 index bc38816..0000000 Binary files a/cards/Moonlit_Scheme_v0.1.png and /dev/null differ diff --git a/cards/Mountains_v0.1.png b/cards/Mountains_v0.1.png deleted file mode 100644 index a32b10e..0000000 Binary files a/cards/Mountains_v0.1.png and /dev/null differ diff --git a/cards/Occult_v0.1.png b/cards/Occult_v0.1.png deleted file mode 100644 index 093ffe3..0000000 Binary files a/cards/Occult_v0.1.png and /dev/null differ diff --git a/cards/Penny_Pincher_v0.1.png b/cards/Penny_Pincher_v0.1.png deleted file mode 100644 index 06ad33e..0000000 Binary files a/cards/Penny_Pincher_v0.1.png and /dev/null differ diff --git a/cards/Productive_Village_v0.1.png b/cards/Productive_Village_v0.1.png deleted file mode 100644 index cb91923..0000000 Binary files a/cards/Productive_Village_v0.1.png and /dev/null differ diff --git a/cards/Prospector_v0.1.png b/cards/Prospector_v0.1.png deleted file mode 100644 index 236626f..0000000 Binary files a/cards/Prospector_v0.1.png and /dev/null differ diff --git a/cards/Prospering_v0.1.png b/cards/Prospering_v0.1.png deleted file mode 100644 index 1278998..0000000 Binary files a/cards/Prospering_v0.1.png and /dev/null differ diff --git a/cards/Retainer_v0.1.png b/cards/Retainer_v0.1.png deleted file mode 100644 index 34e4327..0000000 Binary files a/cards/Retainer_v0.1.png and /dev/null differ diff --git a/cards/Scientist_v0.1.png b/cards/Scientist_v0.1.png deleted file mode 100644 index b09675b..0000000 Binary files a/cards/Scientist_v0.1.png and /dev/null differ diff --git a/cards/Secret_Society_v0.1.png b/cards/Secret_Society_v0.1.png deleted file mode 100644 index 93e428c..0000000 Binary files a/cards/Secret_Society_v0.1.png and /dev/null differ diff --git a/cards/Service_v0.1.png b/cards/Service_v0.1.png deleted file mode 100644 index e2751a4..0000000 Binary files a/cards/Service_v0.1.png and /dev/null differ diff --git a/cards/Shovel_v0.1.png b/cards/Shovel_v0.1.png deleted file mode 100644 index e7e937c..0000000 Binary files a/cards/Shovel_v0.1.png and /dev/null differ diff --git a/cards/Silk_v0.1.png b/cards/Silk_v0.1.png deleted file mode 100644 index 72d7a59..0000000 Binary files a/cards/Silk_v0.1.png and /dev/null differ diff --git a/cards/Steelworker_v0.1.png b/cards/Steelworker_v0.1.png deleted file mode 100644 index 116906a..0000000 Binary files a/cards/Steelworker_v0.1.png and /dev/null differ diff --git a/cards/Surplus_v0.1.png b/cards/Surplus_v0.1.png deleted file mode 100644 index fb48457..0000000 Binary files a/cards/Surplus_v0.1.png and /dev/null differ diff --git a/cards/Timekeeping_v0.1.png b/cards/Timekeeping_v0.1.png deleted file mode 100644 index 898fc21..0000000 Binary files a/cards/Timekeeping_v0.1.png and /dev/null differ diff --git a/cards/Toll_v0.1.png b/cards/Toll_v0.1.png deleted file mode 100644 index 443bd58..0000000 Binary files a/cards/Toll_v0.1.png and /dev/null differ diff --git a/cards/Trash_Collector_v0.1.png b/cards/Trash_Collector_v0.1.png deleted file mode 100644 index 9a2a5b6..0000000 Binary files a/cards/Trash_Collector_v0.1.png and /dev/null differ diff --git a/cards/Vase_v0.1.png b/cards/Vase_v0.1.png deleted file mode 100644 index f36f9c5..0000000 Binary files a/cards/Vase_v0.1.png and /dev/null differ diff --git a/cards/Vendor_v0.1.png b/cards/Vendor_v0.1.png deleted file mode 100644 index 09a0471..0000000 Binary files a/cards/Vendor_v0.1.png and /dev/null differ diff --git a/index.html b/index.html deleted file mode 100644 index da53664..0000000 --- a/index.html +++ /dev/null @@ -1,45 +0,0 @@ - - - Dominionator - - - -
- - - - \ No newline at end of file diff --git a/src/cards.ts b/src/cards.ts index 628db64..5a6c1fb 100644 --- a/src/cards.ts +++ b/src/cards.ts @@ -1,16 +1,16 @@ import { DominionCard, TYPE_ACTION, - TYPE_DURATION, - TYPE_NIGHT, - TYPE_TREASURE, - TYPE_VICTORY, + // TYPE_DURATION, + // TYPE_NIGHT, + // TYPE_TREASURE, + // TYPE_VICTORY, } from "./types.ts"; const expansionIcon = ""; const author = "Dylan"; -const _sampleCard = { +const _sampleCard: DominionCard = { orientation: "card", title: "Sample", description: "", @@ -24,281 +24,4 @@ const _sampleCard = { expansionIcon, }; -export const cards: DominionCard[] = [ - { - orientation: "card", - title: "Flask", - description: - "+2 Cards\n\nAt the start of your Clean-up phase, you may put a card from your hand onto your deck.", - types: [TYPE_TREASURE], - image: "", - artist: "", - author, - version: "0.1", - cost: "$6", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Promising Land", - description: "Worth 1% per 4 cards you have that cost $4 or $5.", - types: [TYPE_VICTORY], - image: "", - artist: "", - author, - version: "0.1", - cost: "$4", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Steelworker", - description: - "If it's your Action phase, +3 Cards.\n\nIf it's your Buy phase, +1 Buy, and +$1.", - types: [TYPE_ACTION, TYPE_TREASURE], - image: "", - artist: "", - author, - version: "0.2", - cost: "$5", - preview: "$?", - expansionIcon, - }, - { - orientation: "card", - title: "Shovel", - description: - "Play a Treasure card from your hand. Then trash it from play to gain a Treasure card costing up to $3 more than it.", - types: [TYPE_TREASURE], - image: "", - artist: "", - author, - version: "0.1", - cost: "$6", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "High Council", - description: - "+2 Cards\n+1 Action\n+1 Buy\n\nEach player (including you) may choose one: +1 Card, or trash a card from their hand.", - types: [TYPE_ACTION], - image: "", - artist: "", - author: "Lou + Dylan", - version: "0.1", - cost: "$7", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Productive Village", - description: - "If it's your Action phase, +3 Actions.\n\nIf it's your Buy phase, +$1 per unused Action you have (Action, not Action card). +$1 if you have no Actions.", - types: [TYPE_ACTION, TYPE_TREASURE], - image: "", - artist: "", - author: "Dylan", - version: "0.2", - cost: "$3", - preview: "$?", - expansionIcon, - }, - { - orientation: "card", - title: "Secret Society", - description: - "+1 Action\n\nIf you have at least 3 copies of Secret Society in play, trash all of them to gain any number of cards costing at least $2, whose total combined cost is at most $50.\n\n-\n\nThis card cannot be gained other than by buying it. During a player's buy phase, this costs $3 plus $2 per Secret Society they've gained this game.", - types: [TYPE_ACTION], - image: "", - artist: "", - author: "Dylan", - version: "0.1", - cost: "$4*", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Eclipse", - description: - "+1 Card\n\nIf you have no Actions, +1 Action. If you have no Buys, +1 Buy. Return to your Action phase.", - types: [TYPE_NIGHT], - image: "", - artist: "", - author: "Dylan", - version: "0.1", - cost: "$5", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Moonlit Scheme", - description: "You may play an Action card from your hand.", - types: [TYPE_NIGHT], - image: "", - artist: "", - author: "Dylan", - version: "0.1", - cost: "$2", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Beaver", - description: - "Pay $1. If you did, gain a card costing up to the amount of $ you have.", - types: [TYPE_NIGHT], - image: "", - artist: "", - author: "Dylan", - version: "0.1", - cost: "$3", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Silk", - description: "Choose one: +$2, or gain a Silver.", - types: [TYPE_TREASURE], - image: "", - artist: "", - author, - version: "0.1", - cost: "$4", - preview: "$?", - expansionIcon, - }, - { - orientation: "card", - title: "Foundry", - description: - "Choose one: +1 Card, +1 Action and +$1; or trash a card from your hand to gain a card that costs up to $2 more than it.", - types: [TYPE_ACTION], - image: "", - artist: "", - author, - version: "0.1", - cost: "$5", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Vendor", - description: - "Choose three different options: +1 Card, +1 Action, +1 Buy, +$1, trash a card from your hand.", - types: [TYPE_ACTION], - image: "", - artist: "", - author, - version: "0.2", - cost: "$5", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Chateau", - description: - "1%\n\n-\n\nWhen you gain this, choose one: gain an Estate; or +1 Card, +1 Action, +1 Buy, +$1, and if it's your Buy phase, return to your Action phase.", - types: [TYPE_VICTORY], - image: "", - artist: "", - author, - version: "0.1", - cost: "$3", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Retainer", - description: - "Set aside a card from your hand (under this).\n\nAt any time during any of your turns, you may take +1 Action, and add the set aside card to your hand, discarding this from play.\n\nAt the start of each of your Buy phases, if the card is still set aside, +@1.", - types: [TYPE_ACTION, TYPE_DURATION], - image: "", - artist: "", - author, - version: "0.2", - cost: "$2", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Crop Field", - description: "$1\n\n-\n\n1%", - types: [TYPE_TREASURE, TYPE_VICTORY], - image: "", - artist: "", - author, - version: "0.1", - cost: "$3", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Duet", - description: - "Play one of the set aside cards, leaving it there\n\n-\n\nSetup: set aside two unused non-Duration Action cards of the same cost. This costs $1 more than the cost of the set aside cards.", - types: [TYPE_ACTION], - image: "", - artist: "", - author, - version: "0.1", - cost: "$?", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Scraps", - description: - "If it's your Action phase, trash up to 3 cards from your hand.\n\nIf it's your Buy phase, +$1 per 10 cards in the trash (round down).", - types: [TYPE_ACTION, TYPE_TREASURE], - image: "", - artist: "", - author, - version: "0.1", - cost: "$4", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Slogger", - description: - "+1 Card\n+1 Action\n\nReveal the top 5 cards of your deck. Put the Victory cards into your hand, and put the rest back on top in any order.", - types: [TYPE_ACTION], - image: "", - artist: "", - author, - version: "0.1", - cost: "$4", - preview: "", - expansionIcon, - }, - { - orientation: "card", - title: "Vase", - description: - "$2\nReturn this to its pile.\n\n-\n\nWhen you gain this, gain another Vase (that doesn't come with another).", - types: [TYPE_TREASURE], - image: "", - artist: "", - author, - version: "0.1", - cost: "$3", - preview: "", - expansionIcon, - }, -]; +export const cards: DominionCard[] = [_sampleCard, _sampleCard];